• Li Zefan's avatar
    tracing: Convert softirq events to DEFINE_EVENT · c467307c
    Li Zefan authored
    Use DECLARE_EVENT_CLASS to remove duplicate code:
    
       text    data     bss     dec     hex filename
      12781     952      36   13769    35c9 kernel/softirq.o.old
      11981     952      32   12965    32a5 kernel/softirq.o
    
    Two events are converted:
    
      softirq: softirq_entry, softirq_exit
    
    No change in functionality.
    Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    LKML-Reference: <4B0E287F.4030708@cn.fujitsu.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    c467307c
irq.h 3.76 KB