diff options
author | Steven Noonan <steven@uplinklabs.net> | 2008-09-19 06:06:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:37:43 -0400 |
commit | fb1b6d8b5154c692172a424e45fbd0573295cb93 (patch) | |
tree | d9a7ad2c629a6133998402354e77cd721e4962b4 /kernel/trace/Kconfig | |
parent | 5bf9a1ee350a10feb94107de32a203d81fbbe706 (diff) |
ftrace: add nop tracer
A no-op tracer which can serve two purposes:
1. A template for development of a new tracer.
2. A convenient way to see ftrace_printk() calls without
an irrelevant trace making the output messy.
[ mingo@elte.hu: resolved conflicts ]
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 16e5bb5daaa5..d7b2de744631 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -101,6 +101,16 @@ config SCHED_TRACER | |||
101 | This tracer tracks the latency of the highest priority task | 101 | This tracer tracks the latency of the highest priority task |
102 | to be scheduled in, starting from the point it has woken up. | 102 | to be scheduled in, starting from the point it has woken up. |
103 | 103 | ||
104 | config NOP_TRACER | ||
105 | bool "NOP Tracer" | ||
106 | depends on HAVE_FTRACE | ||
107 | depends on DEBUG_KERNEL | ||
108 | select TRACING | ||
109 | help | ||
110 | This tracer does nothing. The primary purpose for it is to | ||
111 | politely print the output of ftrace_printk() calls without | ||
112 | the overhead of an irrelevant trace taking place. | ||
113 | |||
104 | config CONTEXT_SWITCH_TRACER | 114 | config CONTEXT_SWITCH_TRACER |
105 | bool "Trace process context switches" | 115 | bool "Trace process context switches" |
106 | depends on HAVE_FTRACE | 116 | depends on HAVE_FTRACE |