]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c212e8b487080024a231a509b672d89c6138182
tree2f9664124136062366360dc0f2133f41e3184187
parentcaee6c2c3f7730ba0f5923c579d3543d4402e91a
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