aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2025-05-14 07:04:18 +0000
committerSteven Rostedt (Google) <[email protected]>2025-05-14 15:23:28 +0000
commit2632a2013f58f0aab4b9fd042e67d78740ba0996 (patch)
tree669d3bc36697de85eb185b0cdfc826082dd0596f /rust/helpers/platform.c
parenttracing/sched: Use __string() instead of fixed lengths for task->comm (diff)
downloadkernel-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