diff options
| author | Jiri Olsa <[email protected]> | 2019-10-07 14:53:27 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-10 12:30:21 -0300 |
| commit | bb1b1885e2f22afb8bc7981cd865fe4b0e3d975b (patch) | |
| tree | bc5534d27cf3b8d073aed352ac6bb45386788dc8 /tools/perf/scripts/python | |
| parent | 9abd2ab2377613425e1c362694f85b110f5bace2 (diff) | |
perf evlist: Introduce perf_evlist__mmap_cb_get()
Add the perf_evlist__mmap_cb_get() function to return 'struct perf_mmap'
object during perf_evlist__mmap_ops() call.
The array of 'struct mmap' is allocated via evlist__alloc_mmap(), in
this callback we simply returns pointer to the base object.
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')
0 files changed, 0 insertions, 0 deletions