• S
    tracing: Add notrace to TRACE_EVENT implementation functions · 83f0d539
    Steven Rostedt 提交于
    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: NPeter Zijlstra <peterz@infradead.org>
    Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
    83f0d539
ftrace.h 22.8 KB