perf/x86: Use PMUEF_READ_CPU_PKG in uncore events
authorDavid Carrillo-Cisneros <davidcc@google.com>
Wed, 17 Aug 2016 20:55:07 +0000 (13:55 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 18 Aug 2016 08:54:34 +0000 (10:54 +0200)
commite64cd6f73ff5a7eb4f8f759049ee24a3fe55e731
treeffca2e50676f317fb9dacc52f378242358a45536
parentd6a2f9035bfc27d0e9d78b13635dda9fb017ac01
perf/x86: Use PMUEF_READ_CPU_PKG in uncore events

Add flag to Intel's uncore and RAPL.

Signed-off-by: David Carrillo-Cisneros <davidcc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Stephane Eranian <eranian@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Turner <pjt@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/1471467307-61171-5-git-send-email-davidcc@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/rapl.c
arch/x86/events/intel/uncore.c
arch/x86/events/intel/uncore_snb.c