diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-04-04 22:21:14 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-04-04 22:29:53 -0400 |
commit | 9d52727f8043cfda241ae96896628d92fa9c50bb (patch) | |
tree | e2f67ed4f3703ccea1b5c99cb10952e0b4b3876e /.cocciconfig | |
parent | f82e7ca019dfad3b006fd3b772f7ac569672db55 (diff) |
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/20230405022341.688730321@goodmis.org
Cc: stable@vger.kernel.org
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ross Zwisler <zwisler@google.com>
Fixes: 2824f50332486 ("tracing: Make the snapshot trigger work with instances")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions