]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/trace/Kconfig
Merge branch 'linus' into tracing/hw-breakpoints
[mv-sheeva.git] / kernel / trace / Kconfig
index 61071fecc82e5a6f2ed1dad5605efe35a40e3f6e..ae048a2dbbe87d26d4db41ee12d52eeb3edf20a5 100644 (file)
@@ -314,6 +314,27 @@ config POWER_TRACER
          power management decisions, specifically the C-state and P-state
          behavior.
 
+config KSYM_TRACER
+       bool "Trace read and write access on kernel memory locations"
+       depends on HAVE_HW_BREAKPOINT
+       select TRACING
+       help
+         This tracer helps find read and write operations on any given kernel
+         symbol i.e. /proc/kallsyms.
+
+config PROFILE_KSYM_TRACER
+       bool "Profile all kernel memory accesses on 'watched' variables"
+       depends on KSYM_TRACER
+       help
+         This tracer profiles kernel accesses on variables watched through the
+         ksym tracer ftrace plugin. Depending upon the hardware, all read
+         and write operations on kernel variables can be monitored for
+         accesses.
+
+         The results will be displayed in:
+         /debugfs/tracing/profile_ksym
+
+         Say N if unsure.
 
 config STACK_TRACER
        bool "Trace max stack"