This makes use of the shiny new attr::suppress_aux that suppresses the AUX records that don't carry any 'interesting' information for the decoders, that is PERF_RECORD_AUX[flag==OVERWRITE], which just stack up in the DATA buffer for no good reason.
Signed-off-by: Alexander Shishkin <alexander.shish...@linux.intel.com> --- tools/perf/arch/x86/util/auxtrace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/arch/x86/util/auxtrace.c b/tools/perf/arch/x86/util/auxtrace.c index 6aa3f2a38321..5700e6099608 100644 --- a/tools/perf/arch/x86/util/auxtrace.c +++ b/tools/perf/arch/x86/util/auxtrace.c @@ -45,6 +45,8 @@ struct auxtrace_record *auxtrace_record__init_intel(struct perf_evlist *evlist, if (intel_bts_pmu && evsel->attr.type == intel_bts_pmu->type) found_bts = true; + if (found_pt || found_bts) + evsel->attr.suppress_aux = 1; } } -- 2.14.2