diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2019-11-15 14:42:25 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-11-22 10:48:13 -0300 |
commit | 32a1ece4bdbde24734ab16484bad7316f03fc42d (patch) | |
tree | b6475f4eed483488914ece78cf8d7c4a9dc4efb3 /tools/perf/arch/x86/util/auxtrace.c | |
parent | dbd134322e74f19dbabf174b2cbf7fca9bbc34d3 (diff) |
perf intel-bts: Does not support AUX area sampling
Add an error message because Intel BTS does not support AUX area
sampling.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20191115124225.5247-16-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86/util/auxtrace.c')
-rw-r--r-- | tools/perf/arch/x86/util/auxtrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c index 092543cad324..7abc9fd4cbec 100644 --- a/tools/perf/arch/x86/util/auxtrace.c +++ b/tools/perf/arch/x86/util/auxtrace.c @@ -29,6 +29,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct evlist *evlist, if (intel_pt_pmu) intel_pt_pmu->auxtrace = true; intel_bts_pmu = perf_pmu__find(INTEL_BTS_PMU_NAME); + if (intel_bts_pmu) + intel_bts_pmu->auxtrace = true; evlist__for_each_entry(evlist, evsel) { if (intel_pt_pmu && evsel->core.attr.type == intel_pt_pmu->type) |