summaryrefslogtreecommitdiffstats
path: root/Documentation/trace
diff options
context:
space:
mode:
authorTom Zanussi <zanussi@kernel.org>2020-04-03 21:31:19 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-06-01 14:21:08 +0200
commit1b94b3aed367ff2cdc84d325e0aa9d7cc9e3cf2a (patch)
tree3603eadfe1e1bcde0e38ec7adffd7ee3e90c0e64 /Documentation/trace
parenttracing/probe: reverse arguments to list_add (diff)
downloadlinux-1b94b3aed367ff2cdc84d325e0aa9d7cc9e3cf2a.tar.xz
linux-1b94b3aed367ff2cdc84d325e0aa9d7cc9e3cf2a.zip
tracing: Check state.disabled in synth event trace functions
Since trace_state.disabled is set in __synth_event_trace_start() at the same time -ENOENT is returned, don't bother returning -ENOENT - just have callers check trace_state.disabled instead, and avoid the extra return val munging. Link: http://lkml.kernel.org/r/87315c3889af870e8370e82b76cf48b426d70130.1585941485.git.zanussi@kernel.org Suggested-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@godmis.org>
Diffstat (limited to 'Documentation/trace')
0 files changed, 0 insertions, 0 deletions