diff options
| author | Jiri Olsa <[email protected]> | 2019-10-07 12:53:27 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-10 15:30:21 +0000 |
| commit | bb1b1885e2f22afb8bc7981cd865fe4b0e3d975b (patch) | |
| tree | bc5534d27cf3b8d073aed352ac6bb45386788dc8 /tools/perf/util/annotate.c | |
| parent | perf tools: Introduce perf_evlist__mmap_cb_idx() (diff) | |
| download | kernel-bb1b1885e2f22afb8bc7981cd865fe4b0e3d975b.tar.gz kernel-bb1b1885e2f22afb8bc7981cd865fe4b0e3d975b.zip | |
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/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
