diff options
| author | Jiri Olsa <[email protected]> | 2019-10-07 12:53:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-10 13:11:54 +0000 |
| commit | 1d40ae4e1784bfa1646fd153ca022db21511284f (patch) | |
| tree | 7c817908f815dcf50eeaa88fee695a03942058a5 /tools/perf/util/python.c | |
| parent | libperf: Adopt perf_mmap__put() function from tools/perf (diff) | |
| download | kernel-1d40ae4e1784bfa1646fd153ca022db21511284f.tar.gz kernel-1d40ae4e1784bfa1646fd153ca022db21511284f.zip | |
perf tools: Use perf_mmap way to detect aux mmap
We will move this code to libperf shortly, so we need to free it of
'struct auxtrace_mmap' usage, because it won't be available in libperf
(for now).
The perf_event_mmap_page::aux_size is set when the aux mmap is mapped,
so the check is equivalent.
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/python.c')
0 files changed, 0 insertions, 0 deletions
