ftrace: disable tracing on resize
authorSteven Rostedt <srostedt@redhat.com>
Tue, 11 Nov 2008 02:46:00 +0000 (21:46 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 11 Nov 2008 02:47:35 +0000 (21:47 -0500)
Impact: fix for bug on resize

This patch addresses the bug found here:

 http://bugzilla.kernel.org/show_bug.cgi?id=11996

When ftrace converted to the new unified trace buffer, the resizing of
the buffer was not protected as much as it was originally. If tracing
is performed while the resize occurs, then the buffer can be corrupted.

This patch disables all ftrace buffer modifications before a resize
takes place.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found