aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig13
1 files changed, 11 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index d10f31dfa0b2..25373cf32672 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -932,6 +932,7 @@ menu "Performance Counters"
932 932
933config PERF_COUNTERS 933config PERF_COUNTERS
934 bool "Kernel Performance Counters" 934 bool "Kernel Performance Counters"
935 default y if PROFILING
935 depends on HAVE_PERF_COUNTERS 936 depends on HAVE_PERF_COUNTERS
936 select ANON_INODES 937 select ANON_INODES
937 help 938 help
@@ -953,9 +954,17 @@ config PERF_COUNTERS
953 Say Y if unsure. 954 Say Y if unsure.
954 955
955config EVENT_PROFILE 956config EVENT_PROFILE
956 bool "Tracepoint profile sources" 957 bool "Tracepoint profiling sources"
957 depends on PERF_COUNTERS && EVENT_TRACER 958 depends on PERF_COUNTERS && EVENT_TRACING
958 default y 959 default y
960 help
961 Allow the use of tracepoints as software performance counters.
962
963 When this is enabled, you can create perf counters based on
964 tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID
965 found in debugfs://tracing/events/*/*/id. (The -e/--events
966 option to the perf tool can parse and interpret symbolic
967 tracepoints, in the subsystem:tracepoint_name format.)
959 968
960endmenu 969endmenu
961 970