On Thu, Oct 13, 2016 at 01:28:09AM -0700, Imre Palik wrote:
> + if (version > 1) {
> + unsigned int ecx = cpuid_ecx(1);
> +
> + if (ecx >> 31)
What is this magic, undocumented gunk doing? Is that supposed to be
static_cpu_has(X86_FEATURE_HYPERVISOR) ?
From: Imre Palik
perf doesn't seem to honour the number of fixed counters specified by cpuid
leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters.
So if some of the fixed counters are masked out by the hypervisor, it still
tries to check/set them.
This patch makes perf beh
2 matches
Mail list logo