diff options
| author | Masami Hiramatsu (Google) <[email protected]> | 2025-05-14 07:04:18 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-05-14 15:23:28 +0000 |
| commit | 2632a2013f58f0aab4b9fd042e67d78740ba0996 (patch) | |
| tree | 669d3bc36697de85eb185b0cdfc826082dd0596f /rust/helpers/platform.c | |
| parent | tracing/sched: Use __string() instead of fixed lengths for task->comm (diff) | |
| download | kernel-2632a2013f58f0aab4b9fd042e67d78740ba0996.tar.gz kernel-2632a2013f58f0aab4b9fd042e67d78740ba0996.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/174720625803.1925039.1815089037443798944.stgit@mhiramat.tok.corp.google.com
Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
