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

From: Alexander Shishkin
Date: Thu Feb 02 2017 - 05:16:35 EST


Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> writes:

> @@ -72,12 +77,14 @@ static struct pt_cap_desc {
> PT_CAP(mtc_periods, 1, CPUID_EAX, 0xffff0000),
> PT_CAP(cycle_thresholds, 1, CPUID_EBX, 0xffff),
> PT_CAP(psb_periods, 1, CPUID_EBX, 0xffff0000),
> + PT_CAP(passthrough, PT_SW_CAP, 0, 1),

Thinking some more: we don't actually need this as the format string
already serves this purpose.

Regards,
--
Alex