diff options
author | Thomas Gleixner | 2016-03-20 19:59:04 +0100 |
---|---|---|
committer | Ingo Molnar | 2016-03-31 10:30:38 +0200 |
commit | c7afba320e91cca46fdf078798002b9ec84be8d3 (patch) | |
tree | fed40d7565c36960ac52a34c5dcc7b459c935b43 /arch/x86/Kconfig.perf | |
parent | x86/perf/intel/cstate: Sanitize error handling (diff) | |
download | kernel-qcow2-linux-c7afba320e91cca46fdf078798002b9ec84be8d3.tar.gz kernel-qcow2-linux-c7afba320e91cca46fdf078798002b9ec84be8d3.tar.xz kernel-qcow2-linux-c7afba320e91cca46fdf078798002b9ec84be8d3.zip |
x86/perf/intel/cstate: Modularize driver
Add the exit function and allow the driver to be built as a module.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/20160320185623.658869675@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/Kconfig.perf')
-rw-r--r-- | arch/x86/Kconfig.perf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.perf b/arch/x86/Kconfig.perf index b239ad5d0a4e..7d29dd75d07b 100644 --- a/arch/x86/Kconfig.perf +++ b/arch/x86/Kconfig.perf @@ -16,4 +16,12 @@ config PERF_EVENTS_INTEL_RAPL Include support for Intel rapl performance events for power monitoring on modern processors. +config PERF_EVENTS_INTEL_CSTATE + tristate "Intel cstate performance events" + depends on PERF_EVENTS && CPU_SUP_INTEL && PCI + default y + ---help--- + Include support for Intel cstate performance events for power + monitoring on modern processors. + endmenu |