diff options
| author | Lai Jiangshan <[email protected]> | 2009-04-24 11:27:05 +0800 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2009-04-24 00:08:38 -0400 |
| commit | 334d4169a6592d3fcd863bbe822a8f6985ffa9af (patch) | |
| tree | 3ac9c038304eaa69b06d9cac735fd62a8d6c47b3 /include/linux/debugobjects.h | |
| 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 <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions