[PATCH 2/3 v2] tracing: Keep overwrite in sync between regular and snapshot buffers

2013-03-14 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Changing the overwrite mode for the ring buffer via the trace option only sets the normal buffer. But the snapshot buffer could swap with it, and then the snapshot would be in non overwrite mode and the normal buffer would be in overwrite mode, even though the

[PATCH 2/3 v2] tracing: Keep overwrite in sync between regular and snapshot buffers

2013-03-14 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Changing the overwrite mode for the ring buffer via the trace option only sets the normal buffer. But the snapshot buffer could swap with it, and then the snapshot would be in non overwrite mode and the normal buffer would be in overwrite mode,