summaryrefslogtreecommitdiffstats
path: root/kernel/reboot.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-27 11:20:58 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-11-30 15:21:31 -0500
commit55ea4cf403800af2ce6b125bc3d853117e0c0456 (patch)
tree90b6dd8bef31c53b59abbf0155a1a2aed9e597c4 /kernel/reboot.c
parentfbc6e1c6e0a4b5ef402f9eb8d00880a5e1d98df3 (diff)
downloadlinux-55ea4cf403800af2ce6b125bc3d853117e0c0456.tar.bz2
ring-buffer: Update write stamp with the correct ts
The write stamp, used to calculate deltas between events, was updated with the stale "ts" value in the "info" structure, and not with the updated "ts" variable. This caused the deltas between events to be inaccurate, and when crossing into a new sub buffer, had time go backwards. Link: https://lkml.kernel.org/r/20201124223917.795844-1-elavila@google.com Cc: stable@vger.kernel.org Fixes: a389d86f7fd09 ("ring-buffer: Have nested events still record running time stamp") Reported-by: "J. Avila" <elavila@google.com> Tested-by: Daniel Mentz <danielmentz@google.com> Tested-by: Will McVicker <willmcvicker@google.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions