summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.perf
diff options
context:
space:
mode:
authorThomas Gleixner2016-03-20 19:59:04 +0100
committerIngo Molnar2016-03-31 10:30:38 +0200
commitc7afba320e91cca46fdf078798002b9ec84be8d3 (patch)
treefed40d7565c36960ac52a34c5dcc7b459c935b43 /arch/x86/Kconfig.perf
parentx86/perf/intel/cstate: Sanitize error handling (diff)
downloadkernel-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.perf8
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