perf auxtrace: Record whether an auxtrace mmap is needed
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 6 May 2022 12:25:47 +0000 (15:25 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 May 2022 17:27:19 +0000 (14:27 -0300)
commit7df319e5b3b60f159bebf2949f7e28823fff2086
tree99d373bd5591b755dce13d4b3495db1a5cd8d54c
parent8f111be6434de90c9743ea522c32b384d203a8de
perf auxtrace: Record whether an auxtrace mmap is needed

Add a flag needs_auxtrace_mmap to record whether an auxtrace mmap is
needed, in preparation for correctly determining whether or not an
auxtrace mmap is needed.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lore.kernel.org/lkml/20220506122601.367589-10-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm/util/cs-etm.c
tools/perf/arch/arm64/util/arm-spe.c
tools/perf/arch/s390/util/auxtrace.c
tools/perf/arch/x86/util/intel-bts.c
tools/perf/arch/x86/util/intel-pt.c
tools/perf/util/evsel.h