aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-05-12 15:21:00 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:52:01 -0400
commit4fcdae83cebda24b519a89d3dd976081fff1ca80 (patch)
tree6ad0c14f709af1fe2352ce591d3c84d76c7646a0 /kernel/trace/trace.h
parentab46428c6969d50ecf6f6e97b7a84abba6274368 (diff)
ftrace: comment code
This is first installment of adding documentation to the ftrace. Expect many more patches of this kind in the near future. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index b0ca7473671b..21c29ee13e53 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -294,6 +294,13 @@ extern long ns2usecs(cycle_t nsec);
294 294
295extern unsigned long trace_flags; 295extern unsigned long trace_flags;
296 296
297/*
298 * trace_iterator_flags is an enumeration that defines bit
299 * positions into trace_flags that controls the output.
300 *
301 * NOTE: These bits must match the trace_options array in
302 * trace.c.
303 */
297enum trace_iterator_flags { 304enum trace_iterator_flags {
298 TRACE_ITER_PRINT_PARENT = 0x01, 305 TRACE_ITER_PRINT_PARENT = 0x01,
299 TRACE_ITER_SYM_OFFSET = 0x02, 306 TRACE_ITER_SYM_OFFSET = 0x02,