summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorCrystal Wood <crwood@redhat.com>2026-05-11 17:30:35 -0500
committerSteven Rostedt <rostedt@goodmis.org>2026-05-29 10:40:27 -0400
commit9cb99c598643ba78638dfd668cf020544159cf70 (patch)
tree528ce29811d62220ddf2e485ef98d3b71e4bfd2c /rust/kernel
parente11c9c8365cd7655e81c4e6611492f1b15850aa5 (diff)
tracing/osnoise: Array printk init and cleanup
None of the calls to trace_array_printk_buf() will do anything if we don't initialize the buffer on instance creation (unless some other tracer called it), so do that. Add an osnoise_print() function to facilitate adding debug prints (without tainting). Use trace_array_printk() instead of trace_array_printk_buf(), as we're only writing to the main buffer (of a non-main instance) anyway -- and trace_array_printk_buf() skips the check to make sure we're not printing to the global instance. Link: https://patch.msgid.link/20260511223035.1475676-1-crwood@redhat.com Signed-off-by: Crystal Wood <crwood@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions