diff options
Diffstat (limited to 'tools/perf/arch/x86/util/intel-pt.c')
| -rw-r--r-- | tools/perf/arch/x86/util/intel-pt.c | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/intel-pt.c b/tools/perf/arch/x86/util/intel-pt.c index 9535be57033f..db0ba8caf5a2 100644 --- a/tools/perf/arch/x86/util/intel-pt.c +++ b/tools/perf/arch/x86/util/intel-pt.c @@ -701,6 +701,7 @@ static int intel_pt_recording_options(struct auxtrace_record *itr,  				perf_evsel__set_sample_bit(switch_evsel, TID);  				perf_evsel__set_sample_bit(switch_evsel, TIME);  				perf_evsel__set_sample_bit(switch_evsel, CPU); +				perf_evsel__reset_sample_bit(switch_evsel, BRANCH_STACK);  				opts->record_switch_events = false;  				ptr->have_sched_switch = 3; @@ -752,6 +753,7 @@ static int intel_pt_recording_options(struct auxtrace_record *itr,  		tracking_evsel->attr.freq = 0;  		tracking_evsel->attr.sample_period = 1; +		tracking_evsel->no_aux_samples = true;  		if (need_immediate)  			tracking_evsel->immediate = true; @@ -761,6 +763,7 @@ static int intel_pt_recording_options(struct auxtrace_record *itr,  			/* And the CPU for switch events */  			perf_evsel__set_sample_bit(tracking_evsel, CPU);  		} +		perf_evsel__reset_sample_bit(tracking_evsel, BRANCH_STACK);  	}  	/*  | 
