tracing: Add trace_printk sample code
[cascardo/linux.git] / samples / Kconfig
index 559a58b..27a2457 100644 (file)
@@ -11,6 +11,13 @@ config SAMPLE_TRACE_EVENTS
        help
          This build trace event example modules.
 
+config SAMPLE_TRACE_PRINTK
+        tristate "Build trace_printk module - tests various trace_printk formats"
+       depends on EVENT_TRACING && m
+       help
+        This builds a module that calls trace_printk() and can be used to
+        test various trace_printk() calls from a module.
+
 config SAMPLE_KOBJECT
        tristate "Build kobject examples -- loadable modules only"
        depends on m