android_kernel_xiaomi_sdm845/include/trace/events
Steven Rostedt 75ec29ab84 tracing: Convert some sched trace events to DEFINE_EVENT and _PRINT
Converting some of the scheduler trace events to use the
TRACE_EVENT_TEMPLATE, DEFINE_EVENT and DEFINE_EVENT_PRINT helped to
save some space:

$ size kernel/sched.o-*
   text	   data	    bss	    dec	    hex	filename
  79299	   6776	   2520	  88595	  15a13	kernel/sched.o-notrace
 101941	  11896	   2584	 116421	  1c6c5	kernel/sched.o-templ
 104779	  11896	   2584	 119259	  1d1db	kernel/sched.o-trace

sched.o-notrace is without any tracepoints compiled
sched.o-templ is with this patch
sched.o-trace is the tracepoints before this patch

The trace events converted to DEFINE_EVENT:

sched_wakeup, sched_wakeup_new, sched_process_free, sched_process_exit,
and sched_stat_wait.

The trace events converted to DEFINE_EVENT_PRINT:

sched_stat_sleep and sched_stat_iowait.

Note, since the TRACE_EVENT_TEMPLATE always uses a print, the
sched_stat_wait print format is defined in the template and this
template is used by sched_stat_sleep and sched_stat_iowait. But the
later two override the print format.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2009-11-24 18:24:00 -05:00
..
bkl.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
block.h Add a tracepoint for block request remapping 2009-10-01 21:19:34 +02:00
ext4.h ext4: Add a stub for mpage_da_data in the trace header 2009-09-30 00:51:22 -04:00
irq.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
jbd2.h jbd2: Use tracepoints for history file 2009-09-30 00:32:06 -04:00
kmem.h tracing, page-allocator: add trace event for page traffic related to the buddy lists 2009-09-22 07:17:34 -07:00
kvm.h KVM: Add trace points in irqchip code 2009-09-10 08:33:11 +03:00
lock.h tracing: Rename 'lockdep' event subsystem into 'lock' 2009-11-13 10:48:27 +01:00
module.h tracing/events: Add module tracepoints 2009-08-17 11:25:08 +02:00
napi.h
power.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
sched.h tracing: Convert some sched trace events to DEFINE_EVENT and _PRINT 2009-11-24 18:24:00 -05:00
skb.h net: skb ftracer - add tracepoint to skb_copy_datagram_iovec (v3) 2009-08-13 16:26:14 -07:00
syscalls.h tracing: Create generic syscall TRACE_EVENTs 2009-08-26 00:41:48 +02:00
timer.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
workqueue.h tracing/workqueue: Use %pf in workqueue trace events 2009-09-22 23:14:58 +02:00