tracing: Remove check_arg() callbacks from dynevent args
authorTom Zanussi <zanussi@kernel.org>
Fri, 31 Jan 2020 21:55:32 +0000 (15:55 -0600)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 1 Feb 2020 18:09:23 +0000 (13:09 -0500)
commit74403b6c50dd7a633d3f22f59f975d6081eae093
tree063ed11d68b2f8bbc668e8fdfdb188fb22771e93
parent249d7b2ef674cdae28c377cfe6f56696548305d5
tracing: Remove check_arg() callbacks from dynevent args

It's kind of strange to have check_arg() callbacks as part of the arg
objects themselves; it makes more sense to just pass these in when the
args are added instead.

Remove the check_arg() callbacks from those objects which also means
removing the check_arg() args from the init functions, adding them to
the add functions and fixing up existing callers.

Link: http://lkml.kernel.org/r/c7708d6f177fcbe1a36b6e4e8e150907df0fa5d2.1580506712.git.zanussi@kernel.org
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_dynevent.c
kernel/trace/trace_dynevent.h
kernel/trace/trace_events_hist.c
kernel/trace/trace_kprobe.c