From: Steven Rostedt (Red Hat) Date: Thu, 14 Mar 2013 19:03:53 +0000 (-0400) Subject: tracing: Prevent buffer overwrite disabled for latency tracers X-Git-Tag: v3.9-rc4~18^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=613f04a0f51e6e68ac6fe571ab79da3c0a5eb4da;p=pandora-kernel.git tracing: Prevent buffer overwrite disabled for latency tracers The latency tracers require the buffers to be in overwrite mode, otherwise they get screwed up. Force the buffers to stay in overwrite mode when latency tracers are enabled. Added a flag_changed() method to the tracer structure to allow the tracers to see what flags are being changed, and also be able to prevent the change from happing. Cc: stable@vger.kernel.org Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed