]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing/eprobe: Fix to release eprobe when failed to add dyn_event
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 29 Nov 2024 16:47:47 +0000 (01:47 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sun, 8 Dec 2024 14:25:09 +0000 (23:25 +0900)
commit494b332064c0ce2f7392fa92632bc50191c1b517
tree4c1122db44cecb943e0bdf65e705b867e4fcd170
parent40384c840ea1944d7c5a392e8975ed088ecf0b37
tracing/eprobe: Fix to release eprobe when failed to add dyn_event

Fix eprobe event to unregister event call and release eprobe when it fails
to add dynamic event correctly.

Link: https://lore.kernel.org/all/173289886698.73724.1959899350183686006.stgit@devnote2/
Fixes: 7491e2c44278 ("tracing: Add a probe that attaches to trace events")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_eprobe.c