Commit 170b3b1
tracing: Apply trace_clock changes to instance max buffer
Currently trace_clock timestamps are applied to both regular and max
buffers only for global trace. For instance trace, trace_clock
timestamps are applied only to regular buffer. But, regular and max
buffers can be swapped, for example, following a snapshot. So, for
instance trace, bad timestamps can be seen following a snapshot.
Let's apply trace_clock timestamps to instance max buffer as well.
Link: http://lkml.kernel.org/r/ebdb168d0be042dcdf51f81e696b17fabe3609c1.1504642143.git.tom.zanussi@linux.intel.com
Cc: [email protected]
Fixes: 277ba04 ("tracing: Add interface to allow multiple trace buffers")
Signed-off-by: Baohong Liu <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>1 parent 7685ab6 commit 170b3b1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6229 | 6229 | | |
6230 | 6230 | | |
6231 | 6231 | | |
6232 | | - | |
| 6232 | + | |
6233 | 6233 | | |
6234 | 6234 | | |
6235 | 6235 | | |
| |||
0 commit comments