diff options
| author | Crystal Wood <crwood@redhat.com> | 2026-05-11 17:30:35 -0500 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-05-29 10:40:27 -0400 |
| commit | 9cb99c598643ba78638dfd668cf020544159cf70 (patch) | |
| tree | 528ce29811d62220ddf2e485ef98d3b71e4bfd2c /scripts/Makefile.vmlinux_a | |
| parent | e11c9c8365cd7655e81c4e6611492f1b15850aa5 (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 'scripts/Makefile.vmlinux_a')
0 files changed, 0 insertions, 0 deletions
