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 1ea0d1234f4a..5efeb4229ea0 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -329,6 +329,27 @@ config POWER_TRACER | |||
329 | power management decisions, specifically the C-state and P-state | 329 | power management decisions, specifically the C-state and P-state |
330 | behavior. | 330 | behavior. |
331 | 331 | ||
332 | config KSYM_TRACER | ||
333 | bool "Trace read and write access on kernel memory locations" | ||
334 | depends on HAVE_HW_BREAKPOINT | ||
335 | select TRACING | ||
336 | help | ||
337 | This tracer helps find read and write operations on any given kernel | ||
338 | symbol i.e. /proc/kallsyms. | ||
339 | |||
340 | config PROFILE_KSYM_TRACER | ||
341 | bool "Profile all kernel memory accesses on 'watched' variables" | ||
342 | depends on KSYM_TRACER | ||
343 | help | ||
344 | This tracer profiles kernel accesses on variables watched through the | ||
345 | ksym tracer ftrace plugin. Depending upon the hardware, all read | ||
346 | and write operations on kernel variables can be monitored for | ||
347 | accesses. | ||
348 | |||
349 | The results will be displayed in: | ||
350 | /debugfs/tracing/profile_ksym | ||
351 | |||
352 | Say N if unsure. | ||
332 | 353 | ||
333 | config STACK_TRACER | 354 | config STACK_TRACER |
334 | bool "Trace max stack" | 355 | bool "Trace max stack" |