android_kernel_motorola_sm6375/include/trace
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Li Zefan b0aae68cc5 tracing/events: change the type of __str_loc_item to unsigned short
When defining a dynamic size string, we add __str_loc_##item to the
trace entry, and it stores the location of the actual string in
entry->_str_data[]

'unsigned short' should be sufficient to store this information, thus
we save 2 bytes per dyn-size string in the ring buffer.

[ Impact: reduce memory occupied by dyn-size strings in ring buffer ]

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4A14EDB6.2050507@cn.fujitsu.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2009-05-26 00:15:21 +02:00
..
events tracepoint: trace_sched_migrate_task(): remove parameter 2009-05-06 12:15:51 +02:00
block.h blktrace: from-sector redundant in trace_block_remap, cleanup 2009-05-11 13:30:24 +02:00
boot.h
define_trace.h tracing: remove deprecated TRACE_FORMAT 2009-04-24 11:50:39 -04:00
ftrace.h tracing/events: change the type of __str_loc_item to unsigned short 2009-05-26 00:15:21 +02:00
power.h
syscall.h
workqueue.h