diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-08-09 06:46:45 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-09 06:46:49 -0400 |
commit | e3560336be655c6791316482fe288b119f34c427 (patch) | |
tree | 43ca9a6b489aaa3918b773f78a7eda37458ef0a8 /init/Kconfig | |
parent | 26528e773ecc74fb1b61b7275f86f761cbb340ec (diff) | |
parent | 7b2aa037e878c939676675969983284a02958ae3 (diff) |
Merge branch 'linus' into tracing/urgent
Merge reason: Merge up to almost-rc6 to pick up latest perfcounters
(on which we'll queue up a dependent fix)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index cb2c09270226..3f7e60995c80 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -940,6 +940,7 @@ menu "Performance Counters" | |||
940 | 940 | ||
941 | config PERF_COUNTERS | 941 | config PERF_COUNTERS |
942 | bool "Kernel Performance Counters" | 942 | bool "Kernel Performance Counters" |
943 | default y if PROFILING | ||
943 | depends on HAVE_PERF_COUNTERS | 944 | depends on HAVE_PERF_COUNTERS |
944 | select ANON_INODES | 945 | select ANON_INODES |
945 | help | 946 | help |
@@ -961,9 +962,17 @@ config PERF_COUNTERS | |||
961 | Say Y if unsure. | 962 | Say Y if unsure. |
962 | 963 | ||
963 | config EVENT_PROFILE | 964 | config EVENT_PROFILE |
964 | bool "Tracepoint profile sources" | 965 | bool "Tracepoint profiling sources" |
965 | depends on PERF_COUNTERS && EVENT_TRACING | 966 | depends on PERF_COUNTERS && EVENT_TRACING |
966 | default y | 967 | default y |
968 | help | ||
969 | Allow the use of tracepoints as software performance counters. | ||
970 | |||
971 | When this is enabled, you can create perf counters based on | ||
972 | tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID | ||
973 | found in debugfs://tracing/events/*/*/id. (The -e/--events | ||
974 | option to the perf tool can parse and interpret symbolic | ||
975 | tracepoints, in the subsystem:tracepoint_name format.) | ||
967 | 976 | ||
968 | endmenu | 977 | endmenu |
969 | 978 | ||