From: David Sharp Date: Thu, 11 Oct 2012 23:27:52 +0000 (-0700) Subject: tracing: Reset ring buffer when changing trace_clocks X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~77^2~4^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60303ed3f4b9332b9aa9bc17c68bc174e7343e2d;p=pandora-kernel.git tracing: Reset ring buffer when changing trace_clocks Because the "tsc" clock isn't in nanoseconds, the ring buffer must be reset when changing clocks so that incomparable timestamps don't end up in the same trace. Tested: Confirmed switching clocks resets the trace buffer. Google-Bug-Id: 6980623 Link: http://lkml.kernel.org/r/1349998076-15495-3-git-send-email-dhsharp@google.com Cc: Masami Hiramatsu Signed-off-by: David Sharp Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed