commit | 80902822658aab18330569587cdb69ac1dfdcea8 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | Thu Mar 14 14:20:54 2013 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Thu Mar 14 23:40:15 2013 -0400 |
tree | 552d06bf6a7dfcc6c392d7103cfc84e725545c75 | |
parent | 69d34da2984c95b33ea21518227e1f9470f11d95 [diff] |
tracing: Keep overwrite in sync between regular and snapshot buffers 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 option flag states otherwise. Keep the two buffers overwrite modes in sync. Cc: stable@vger.kernel.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org>