From: Steven Rostedt (Red Hat) Date: Thu, 14 Mar 2013 18:20:54 +0000 (-0400) Subject: tracing: Keep overwrite in sync between regular and snapshot buffers X-Git-Tag: v3.2.42~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae02f16fd87c84716699065ba9b0e1cafcb17f6e;p=pandora-kernel.git tracing: Keep overwrite in sync between regular and snapshot buffers commit 80902822658aab18330569587cdb69ac1dfdcea8 upstream. 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. Signed-off-by: Steven Rostedt [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed