diff options
Diffstat (limited to 'kernel/trace/Kconfig')
| -rw-r--r-- | kernel/trace/Kconfig | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index a604f24c755f..8abcaf821beb 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
| @@ -175,6 +175,28 @@ config TRACE_UNLIKELY_PROFILE | |||
| 175 | 175 | ||
| 176 | Say N if unsure. | 176 | Say N if unsure. |
| 177 | 177 | ||
| 178 | config TRACING_UNLIKELY | ||
| 179 | bool | ||
| 180 | help | ||
| 181 | Selected by tracers that will trace the likely and unlikely | ||
| 182 | conditions. This prevents the tracers themselves from being | ||
| 183 | profiled. Profiling the tracing infrastructure can only happen | ||
| 184 | when the likelys and unlikelys are not being traced. | ||
| 185 | |||
| 186 | config UNLIKELY_TRACER | ||
| 187 | bool "Trace likely/unlikely instances" | ||
| 188 | depends on TRACE_UNLIKELY_PROFILE | ||
| 189 | select TRACING_UNLIKELY | ||
| 190 | help | ||
| 191 | This traces the events of likely and unlikely condition | ||
| 192 | calls in the kernel. The difference between this and the | ||
| 193 | "Trace likely/unlikely profiler" is that this is not a | ||
| 194 | histogram of the callers, but actually places the calling | ||
| 195 | events into a running trace buffer to see when and where the | ||
| 196 | events happened, as well as their results. | ||
| 197 | |||
| 198 | Say N if unsure. | ||
| 199 | |||
| 178 | config STACK_TRACER | 200 | config STACK_TRACER |
| 179 | bool "Trace max stack" | 201 | bool "Trace max stack" |
| 180 | depends on HAVE_FUNCTION_TRACER | 202 | depends on HAVE_FUNCTION_TRACER |
