diff options
| -rw-r--r-- | init/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index cb2c09270226..823ee0a2d2a3 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -961,9 +961,17 @@ config PERF_COUNTERS | |||
| 961 | Say Y if unsure. | 961 | Say Y if unsure. |
| 962 | 962 | ||
| 963 | config EVENT_PROFILE | 963 | config EVENT_PROFILE |
| 964 | bool "Tracepoint profile sources" | 964 | bool "Tracepoint profiling sources" |
| 965 | depends on PERF_COUNTERS && EVENT_TRACING | 965 | depends on PERF_COUNTERS && EVENT_TRACING |
| 966 | default y | 966 | default y |
| 967 | help | ||
| 968 | Allow the use of tracepoints as software performance counters. | ||
| 969 | |||
| 970 | When this is enabled, you can create perf counters based on | ||
| 971 | tracepoints using PERF_TYPE_TRACEPOINT and the tracepoint ID | ||
| 972 | found in debugfs://tracing/events/*/*/id. (The -e/--events | ||
| 973 | option to the perf tool can parse and interpret symbolic | ||
| 974 | tracepoints, in the subsystem:tracepoint_name format.) | ||
| 967 | 975 | ||
| 968 | endmenu | 976 | endmenu |
| 969 | 977 | ||
