commit | 334d4169a6592d3fcd863bbe822a8f6985ffa9af | [log] [tgz] |
---|---|---|
author | Lai Jiangshan <laijs@cn.fujitsu.com> | Fri Apr 24 11:27:05 2009 +0800 |
committer | Steven Rostedt <rostedt@goodmis.org> | Fri Apr 24 00:08:38 2009 -0400 |
tree | 3ac9c038304eaa69b06d9cac735fd62a8d6c47b3 | |
parent | c2518c4366f087ebc10b3919cb2461bbe4f42d0c [diff] |
ring_buffer: compressed event header RB_MAX_SMALL_DATA = 28bytes is too small for most tracers, it wastes an 'u32' to save the actually length for events which data size > 28. This fix uses compressed event header and enlarges RB_MAX_SMALL_DATA. [ Impact: saves about 0%-12.5%(depends on tracer) memory in ring_buffer ] Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> LKML-Reference: <49F13189.3090000@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>