tracing: Add kprobe event command generation functions
Add functions used to generate kprobe event commands, built on top of the dynevent_cmd interface. kprobe_event_gen_cmd_start() is used to create a kprobe event command using a variable arg list, and kretprobe_event_gen_cmd_start() does the same for kretprobe event commands. kprobe_event_add_fields() can be used to add single fields one by one or as a group. Once all desired fields are added, kprobe_event_gen_cmd_end() or kretprobe_event_gen_cmd_end() respectively are used to actually execute the command and create the event. Link: http://lkml.kernel.org/r/95cc4696502bb6017f9126f306a45ad19b4cc14f.1580323897.git.zanussi@kernel.org Acked-by:Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Tom Zanussi <zanussi@kernel.org> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org>
-
mentioned in commit e0f83183
-
mentioned in commit 5a35fc1c
-
mentioned in commit 96790d33
-
mentioned in commit 866838eb
-
mentioned in commit c4957f00
-
mentioned in commit f032c53b
-
mentioned in commit 3b092dfd
-
mentioned in commit 824829c2
-
mentioned in commit b80b85f4
-
mentioned in commit 718dfd5b
-
mentioned in commit dc43609d