diff options
Diffstat (limited to 'kernel/trace/Kconfig')
| -rw-r--r-- | kernel/trace/Kconfig | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 5d89335a485f..192473b22799 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -39,6 +39,9 @@ config HAVE_DYNAMIC_FTRACE | |||
| 39 | help | 39 | help |
| 40 | See Documentation/trace/ftrace-design.txt | 40 | See Documentation/trace/ftrace-design.txt |
| 41 | 41 | ||
| 42 | config HAVE_DYNAMIC_FTRACE_WITH_REGS | ||
| 43 | bool | ||
| 44 | |||
| 42 | config HAVE_FTRACE_MCOUNT_RECORD | 45 | config HAVE_FTRACE_MCOUNT_RECORD |
| 43 | bool | 46 | bool |
| 44 | help | 47 | help |
| @@ -78,21 +81,6 @@ config EVENT_TRACING | |||
| 78 | select CONTEXT_SWITCH_TRACER | 81 | select CONTEXT_SWITCH_TRACER |
| 79 | bool | 82 | bool |
| 80 | 83 | ||
| 81 | config EVENT_POWER_TRACING_DEPRECATED | ||
| 82 | depends on EVENT_TRACING | ||
| 83 | bool "Deprecated power event trace API, to be removed" | ||
| 84 | default y | ||
| 85 | help | ||
| 86 | Provides old power event types: | ||
| 87 | C-state/idle accounting events: | ||
| 88 | power:power_start | ||
| 89 | power:power_end | ||
| 90 | and old cpufreq accounting event: | ||
| 91 | power:power_frequency | ||
| 92 | This is for userspace compatibility | ||
| 93 | and will vanish after 5 kernel iterations, | ||
| 94 | namely 3.1. | ||
| 95 | |||
| 96 | config CONTEXT_SWITCH_TRACER | 84 | config CONTEXT_SWITCH_TRACER |
| 97 | bool | 85 | bool |
| 98 | 86 | ||
| @@ -250,6 +238,16 @@ config FTRACE_SYSCALLS | |||
| 250 | help | 238 | help |
| 251 | Basic tracer to catch the syscall entry and exit events. | 239 | Basic tracer to catch the syscall entry and exit events. |
| 252 | 240 | ||
| 241 | config TRACER_SNAPSHOT | ||
| 242 | bool "Create a snapshot trace buffer" | ||
| 243 | select TRACER_MAX_TRACE | ||
| 244 | help | ||
| 245 | Allow tracing users to take snapshot of the current buffer using the | ||
| 246 | ftrace interface, e.g.: | ||
| 247 | |||
| 248 | echo 1 > /sys/kernel/debug/tracing/snapshot | ||
| 249 | cat snapshot | ||
| 250 | |||
| 253 | config TRACE_BRANCH_PROFILING | 251 | config TRACE_BRANCH_PROFILING |
| 254 | bool | 252 | bool |
| 255 | select GENERIC_TRACER | 253 | select GENERIC_TRACER |
| @@ -434,6 +432,11 @@ config DYNAMIC_FTRACE | |||
| 434 | were made. If so, it runs stop_machine (stops all CPUS) | 432 | were made. If so, it runs stop_machine (stops all CPUS) |
| 435 | and modifies the code to jump over the call to ftrace. | 433 | and modifies the code to jump over the call to ftrace. |
| 436 | 434 | ||
| 435 | config DYNAMIC_FTRACE_WITH_REGS | ||
| 436 | def_bool y | ||
| 437 | depends on DYNAMIC_FTRACE | ||
| 438 | depends on HAVE_DYNAMIC_FTRACE_WITH_REGS | ||
| 439 | |||
| 437 | config FUNCTION_PROFILER | 440 | config FUNCTION_PROFILER |
| 438 | bool "Kernel function profiler" | 441 | bool "Kernel function profiler" |
| 439 | depends on FUNCTION_TRACER | 442 | depends on FUNCTION_TRACER |
