tracing: Add notrace to TRACE_EVENT implementation functions
authorSteven Rostedt <srostedt@redhat.com>
Tue, 16 Feb 2010 15:38:47 +0000 (10:38 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 16 Feb 2010 15:38:47 +0000 (10:38 -0500)
commit83f0d53993b2967e54186468b0fc4321447f68f1
tree1e53910353eae38830e56199bc916caf4cd22362
parentc7c6b1fe9f942c1a30585ec2210a09dfff238506
tracing: Add notrace to TRACE_EVENT implementation functions

The functions used to implement the TRACE_EVENT macro show up in
function tracing. This is considered a distraction, and these should
not be displayed. For example:

     <idle>-0     [000]    57.202149: task_of <-update_stats_wait_end
     <idle>-0     [000]    57.202149: ftrace_raw_event_sched_stat_wait <-update_stats_wait_end
     <idle>-0     [000]    57.202150: ftrace_raw_event_id_sched_stat_template <-ftrace_raw_event_sched_stat_wait
     <idle>-0     [000]    57.202150: sched_stat_wait: comm=sshd pid=2735 delay=19207 [ns]

The "ftrace_raw_event_*" traces are just the utility functions used
by TRACE_EVENT tracepoints.

Cc: Thomas Gleixner <tglx@linutronix.de>
Requested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/trace/ftrace.h