diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-10 21:46:00 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2008-11-10 21:47:35 -0500 |
commit | bf5e6519b85b3853f2d0bb4f17a4e2eaeffeb574 (patch) | |
tree | d5560a28100aed24e3bb09e68c17a0ea1fbde07b /kernel/trace/ring_buffer.c | |
parent | 3ad4f597058301c97f362e500a32f63f5c950a45 (diff) |
ftrace: disable tracing on resize
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>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions