Re: [PATCH 2/2] perf/x86/intel/pt: Allow disabling branch tracing

2017-02-02 Thread Alexander Shishkin
Alexander Shishkin writes: > @@ -72,12 +77,14 @@ static struct pt_cap_desc { > PT_CAP(mtc_periods, 1, CPUID_EAX, 0x), > PT_CAP(cycle_thresholds,1, CPUID_EBX, 0x), > PT_CAP(psb_periods, 1, CPUID_EBX, 0x), > + PT_CAP(passthro

Re: [PATCH 2/2] perf/x86/intel/pt: Allow disabling branch tracing

2017-02-01 Thread Alexander Shishkin
Ingo Molnar writes: > * Alexander Shishkin wrote: > >> Now that Intel PT supports more types of trace content than just branch >> tracing, it may be useful to allow the user to disable branch tracing >> when it is not needed. >> >> The special case is BDW, where not setting BranchEn is not supp

Re: [PATCH 2/2] perf/x86/intel/pt: Allow disabling branch tracing

2017-02-01 Thread Ingo Molnar
* Alexander Shishkin wrote: > Now that Intel PT supports more types of trace content than just branch > tracing, it may be useful to allow the user to disable branch tracing > when it is not needed. > > The special case is BDW, where not setting BranchEn is not supported. > > This patch adds '