]> Git Repo - linux.git/commit
tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance
authorSteven Rostedt (Google) <[email protected]>
Wed, 5 Apr 2023 02:21:14 +0000 (22:21 -0400)
committerSteven Rostedt (Google) <[email protected]>
Wed, 5 Apr 2023 02:29:53 +0000 (22:29 -0400)
commit9d52727f8043cfda241ae96896628d92fa9c50bb
treee2f67ed4f3703ccea1b5c99cb10952e0b4b3876e
parentf82e7ca019dfad3b006fd3b772f7ac569672db55
tracing: Have tracing_snapshot_instance_cond() write errors to the appropriate instance

If a trace instance has a failure with its snapshot code, the error
message is to be written to that instance's buffer. But currently, the
message is written to the top level buffer. Worse yet, it may also disable
the top level buffer and not the instance that had the issue.

Link: https://lkml.kernel.org/r/[email protected]
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Ross Zwisler <[email protected]>
Fixes: 2824f50332486 ("tracing: Make the snapshot trigger work with instances")
Signed-off-by: Steven Rostedt (Google) <[email protected]>
kernel/trace/trace.c
This page took 0.0795 seconds and 4 git commands to generate.