Skip to content

Commit 69d8bd8

Browse files
kliang2acmel
authored andcommitted
perf intel-pt: Set no_aux_samples for the tracking event
The reason of introducing the tracking event (a dummy software event) is to collect side-band information. Additional sampling is wasteful. no_aux_samples should be set for tracking event. Signed-off-by: Kan Liang <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 510457e commit 69d8bd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/perf/arch/x86/util/intel-pt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ static int intel_pt_recording_options(struct auxtrace_record *itr,
752752
tracking_evsel->attr.freq = 0;
753753
tracking_evsel->attr.sample_period = 1;
754754

755+
tracking_evsel->no_aux_samples = true;
755756
if (need_immediate)
756757
tracking_evsel->immediate = true;
757758

0 commit comments

Comments
 (0)