tracing/uprobes: Use trace_event_buffer_reserve() helper
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 6 Dec 2021 21:24:40 +0000 (16:24 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 6 Dec 2021 22:53:23 +0000 (17:53 -0500)
commitb7d5eb267f8c234d6eda40e21c0105a1f6231d14
tree2f9664124136062366360dc0f2133f41e3184187
parent5e6cd84e2f8bd3619b5d8f3dd4b44c0086a6ce1d
tracing/uprobes: Use trace_event_buffer_reserve() helper

To be consistent with kprobes and eprobes, use
trace_event_buffer_reserver() and trace_event_buffer_commit(). This will
ensure that any updates to trace events will also be implemented on uprobe
events.

Link: https://lkml.kernel.org/r/20211206162440.69fbf96c@gandalf.local.home
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_uprobe.c