]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:44 +0000 (19:51 +0100)
commitd7e6934eb736a205a6893f5e03f245f81518f226
treeeb2d391db020e980b3418997e6f2d24fa8485520
parent968757f1f45b7341ee26e78687ec96c4abeb03a1
tracing/eprobe: Fix to release eprobe when failed to add dyn_event

[ Upstream commit 494b332064c0ce2f7392fa92632bc50191c1b517 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/trace/trace_eprobe.c