Commit 23d1cfc
committed
ring-buffer: Show what clock function is used on timestamp errors
The testing for tracing was triggering a timestamp count issue that was
always off by one. This has been happening for some time but has never
been reported by anyone else. It was finally discovered to be an issue
with the "uptime" (jiffies) clock that happened to be traced and the
internal recursion caused the discrepancy. This would have been much
easier to solve if the clock function being used was displayed when the
error was detected.
Add the clock function to the error output.
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260323202212.479bb288@gandalf.local.home
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent dc1d940 commit 23d1cfc
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4506 | 4506 | | |
4507 | 4507 | | |
4508 | 4508 | | |
4509 | | - | |
4510 | | - | |
| 4509 | + | |
| 4510 | + | |
| 4511 | + | |
4511 | 4512 | | |
4512 | 4513 | | |
4513 | 4514 | | |
4514 | 4515 | | |
4515 | 4516 | | |
4516 | | - | |
| 4517 | + | |
4517 | 4518 | | |
4518 | 4519 | | |
4519 | 4520 | | |
4520 | | - | |
| 4521 | + | |
| 4522 | + | |
4521 | 4523 | | |
4522 | 4524 | | |
4523 | 4525 | | |
| |||
0 commit comments