Messages in this thread | | | Date | Wed, 11 Mar 2009 22:37:20 -0400 | From | Steven Rostedt <> | Subject | [PATCH 0/4] [GIT PULL] memory saving ring buffer for tip/tracing/ftrace |
| |
Ingo,
This patch series implements a better memory management by the ring buffer. It only allocates the buffers for the online CPUS, as well as keeps the buffers to a minimum size until they are used.
Please pull the latest tip/tracing/ftrace tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git tip/tracing/ftrace
Steven Rostedt (4): tracing: keep ring buffer to minimum size till used tracing: expand the ring buffers when an event is activated tracing: fix trace_wait to know to wait on all cpus or just one ring-buffer: only allocate buffers for online cpus
---- kernel/trace/ring_buffer.c | 266 +++++++++++++++++++++++++++++++++++-------- kernel/trace/trace.c | 118 +++++++++++++++---- kernel/trace/trace.h | 3 + kernel/trace/trace_events.c | 8 ++ 4 files changed, 319 insertions(+), 76 deletions(-)
--
| |