diff options
author | Jiri Olsa <[email protected]> | 2019-10-07 14:53:25 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-10 12:22:21 -0300 |
commit | b5911e7ac28cb34f21b7380915ce98518078f114 (patch) | |
tree | bf0ec46e80fd69cf1c9d3b107cef2e8b8693f2ea /tools/perf/scripts/python/stackcollapse.py | |
parent | 3a8bb58121987a8405d6f96cd8815025e564605d (diff) |
libperf: Introduce perf_evlist_mmap_ops::mmap callback
Add the perf_evlist_mmap_ops::mmap callback to be called in
mmap_per_evsel() to actually mmap the map.
Add libperf's perf_evlist__mmap_cb_mmap() function as libperf's mmap
callback.
New mmaped map gets refcount set to 2 in mmap__mmap(), we follow that in
mmap callback. We will move this to common place after we switch to
perf_evlist__mmap().
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions