summaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter.c
diff options
context:
space:
mode:
authorTom Zanussi <zanussi@kernel.org>2020-02-10 17:06:49 -0600
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-02-10 22:00:13 -0500
commit0c62f6cd9ed320cb0ca39e33addf3a3da51b7328 (patch)
treeb71a9162f6a7e7e366826327c7c28bd022b3424c /net/ipv4/netfilter.c
parentd090409abbdd1fcbdfd6ed66612390ba8c814749 (diff)
downloadlinux-0c62f6cd9ed320cb0ca39e33addf3a3da51b7328.tar.bz2
tracing: Don't return -EINVAL when tracing soft disabled synth events
There's no reason to return -EINVAL when tracing a synthetic event if it's soft disabled - treat it the same as if it were hard disabled and return normally. Have synth_event_trace() and synth_event_trace_array() just return normally, and have synth_event_trace_start set the trace state to disabled and return. Link: http://lkml.kernel.org/r/df5d02a1625aff97c9866506c5bada6a069982ba.1581374549.git.zanussi@kernel.org Fixes: 8dcc53ad956d2 ("tracing: Add synth_event_trace() and related functions") Signed-off-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'net/ipv4/netfilter.c')
0 files changed, 0 insertions, 0 deletions