tracing: expand the ring buffers when an event is activated
authorSteven Rostedt <srostedt@redhat.com>
Wed, 11 Mar 2009 18:33:00 +0000 (14:33 -0400)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 12 Mar 2009 02:15:24 +0000 (22:15 -0400)
commit1852fcce181faa237c010a3dbedb473cf9d4555f
tree863cd12b573fd36436e7fb042f9bd96a73a9f725
parent73c5162aa362a543793f4a957c6c536dcbaa89ce
tracing: expand the ring buffers when an event is activated

To save memory, the tracer ring buffers are set to a minimum.
The activating of a trace expands the ring buffer size. This patch
adds this expanding, when an event is activated.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_events.c