diff options
author | David Sharp <[email protected]> | 2012-10-11 16:27:52 -0700 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2012-11-02 10:21:47 -0400 |
commit | 60303ed3f4b9332b9aa9bc17c68bc174e7343e2d (patch) | |
tree | 1d9a7c8001297aafda1e873884dd8bda5aaf7872 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 60efc15ae96c7aace8060411b0d5add20e1ab21e (diff) |
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/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Signed-off-by: David Sharp <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions