diff options
| author | Baohong Liu <baohong.liu@intel.com> | 2017-09-05 16:57:19 -0500 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-11-06 15:34:19 +0100 |
| commit | f75c4a7ccfe77ccbc3746c424664a4cc101400dd (patch) | |
| tree | eb7cccc3d651cef75c8162fc9a3cbe6c2edcdccc /kernel/trace/ring_buffer_benchmark.c | |
| parent | 580244fcb9427bbd7ecc5b09040d16b4b0e9fbc6 (diff) | |
tracing: Apply trace_clock changes to instance max buffer
commit 170b3b1050e28d1ba0700e262f0899ffa4fccc52 upstream.
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: stable@vger.kernel.org
Fixes: 277ba0446 ("tracing: Add interface to allow multiple trace buffers")
Signed-off-by: Baohong Liu <baohong.liu@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/trace/ring_buffer_benchmark.c')
0 files changed, 0 insertions, 0 deletions
