]> asedeno.scripts.mit.edu Git - linux.git/commit
tracing: Add comment to predicate_parse() about "&&" or "||"
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 14 Jan 2019 21:37:53 +0000 (16:37 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 6 Feb 2019 16:56:19 +0000 (11:56 -0500)
commit6c6dbce196c201810348b6cef6fc5ec77d4d0973
treebf1ca8349ccf8ef5331aa9cf8f0a24a8bc3fc98b
parent9399ca21d203f01a39696a6554344b5d6613ba7b
tracing: Add comment to predicate_parse() about "&&" or "||"

As the predicat_parse() code is rather complex, commenting subtleties is
important. The switch case statement should be commented to describe that it
is only looking for two '&' or '|' together, which is why the fall through
to an error is after the check.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_filter.c