linux-sg2042/arch/x86/events/amd
Peter Zijlstra 31d50c551e perf/x86/amd/uncore: Do not register a task ctx for uncore PMUs
The new sanity check introduced by:

  2665784850 ("perf/core: Verify we have a single perf_hw_context PMU")

... triggered on the AMD uncore driver.

Uncore PMUs are per node, they cannot have per-task counters. Fix it.

Reported-by: Borislav Petkov <bp@suse.de>
Reported-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@redhat.com
Cc: alexander.shishkin@linux.intel.com
Cc: eranian@google.com
Cc: jolsa@redhat.com
Cc: linux-tip-commits@vger.kernel.org
Cc: vincent.weaver@maine.edu
Link: http://lkml.kernel.org/r/20160404140208.GA3448@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-04-13 11:56:36 +02:00
..
core.c perf/x86/amd: Cleanup Fam10h NB event constraints 2016-03-29 10:45:04 +02:00
ibs.c perf/x86/amd/ibs: Fix pmu::stop() nesting 2016-03-31 09:54:08 +02:00
iommu.c perf/x86/amd: Add support for new IOMMU performance events 2016-03-21 09:35:28 +01:00
iommu.h perf/x86: Move perf_event_amd_iommu.[ch] .. => x86/events/amd/iommu.[ch] 2016-02-09 10:23:50 +01:00
power.c perf/x86/amd/power: Add AMD accumulated power reporting mechanism 2016-03-21 09:37:15 +01:00
uncore.c perf/x86/amd/uncore: Do not register a task ctx for uncore PMUs 2016-04-13 11:56:36 +02:00