diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-10-07 15:53:16 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-10 16:11:54 +0300 |
commit | 1d40ae4e1784bfa1646fd153ca022db21511284f (patch) | |
tree | 7c817908f815dcf50eeaa88fee695a03942058a5 /tools/perf/tests/switch-tracking.c | |
parent | 80e53d1148231d7d4fdc4cd89e5393616b33bf82 (diff) | |
download | linux-1d40ae4e1784bfa1646fd153ca022db21511284f.tar.xz |
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 <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20191007125344.14268-9-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/switch-tracking.c')
0 files changed, 0 insertions, 0 deletions