diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index a508b9d2adb8..d7f01e6e8ba5 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -314,6 +314,27 @@ config POWER_TRACER | |||
314 | power management decisions, specifically the C-state and P-state | 314 | power management decisions, specifically the C-state and P-state |
315 | behavior. | 315 | behavior. |
316 | 316 | ||
317 | config KSYM_TRACER | ||
318 | bool "Trace read and write access on kernel memory locations" | ||
319 | depends on HAVE_HW_BREAKPOINT | ||
320 | select TRACING | ||
321 | help | ||
322 | This tracer helps find read and write operations on any given kernel | ||
323 | symbol i.e. /proc/kallsyms. | ||
324 | |||
325 | config PROFILE_KSYM_TRACER | ||
326 | bool "Profile all kernel memory accesses on 'watched' variables" | ||
327 | depends on KSYM_TRACER | ||
328 | help | ||
329 | This tracer profiles kernel accesses on variables watched through the | ||
330 | ksym tracer ftrace plugin. Depending upon the hardware, all read | ||
331 | and write operations on kernel variables can be monitored for | ||
332 | accesses. | ||
333 | |||
334 | The results will be displayed in: | ||
335 | /debugfs/tracing/profile_ksym | ||
336 | |||
337 | Say N if unsure. | ||
317 | 338 | ||
318 | config STACK_TRACER | 339 | config STACK_TRACER |
319 | bool "Trace max stack" | 340 | bool "Trace max stack" |