]> Git Repo - linux.git/commitdiff
Merge tag 'trace-v6.13-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
authorLinus Torvalds <[email protected]>
Wed, 1 Jan 2025 19:22:07 +0000 (11:22 -0800)
committerLinus Torvalds <[email protected]>
Wed, 1 Jan 2025 19:22:07 +0000 (11:22 -0800)
Pull tracing fix from Steven Rostedt:
 "Fix trace event string check when dealing with array of strings

  The xe_bo_move event has a field that indexes into an array of
  strings. The TP_fast_assign() added the index into the ring buffer and
  the TP_printk() had a "%s" that referenced the array using the index
  in the ring buffer. This is a legitimate use of "%s" in trace events.
  But this triggered a false positive in the test_event_printk() at boot
  saying that the string was dangerous.

  Change the check to allow arrays using fields in the ring buffer as an
  index to be considered a safe string"

* tag 'trace-v6.13-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
  tracing: Have process_string() also allow arrays


Trivial merge
This page took 0.051993 seconds and 4 git commands to generate.