diff options
author | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2025-05-14 16:04:18 +0900 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-05-14 11:23:28 -0400 |
commit | 2632a2013f58f0aab4b9fd042e67d78740ba0996 (patch) | |
tree | 669d3bc36697de85eb185b0cdfc826082dd0596f /net/lapb/lapb_timer.c | |
parent | 155fd6c3e2f02efdc71a9b62888942efc217aff0 (diff) |
tracing: Record trace_clock and recover when reboot
Record trace_clock information in the trace_scratch area and recover
the trace_clock when boot, so that reader can docode the timestamp
correctly.
Note that since most trace_clocks records the timestamp in nano-
seconds, this is not a bug. But some trace_clock, like counter and
tsc will record the counter value. Only for those trace_clock user
needs this information.
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/174720625803.1925039.1815089037443798944.stgit@mhiramat.tok.corp.google.com
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions