]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tracing/kprobe: Remove cleanup code unrelated to selftest
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 11 Jun 2024 13:30:56 +0000 (22:30 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 11 Jun 2024 23:46:00 +0000 (08:46 +0900)
commit3eddb031965ae9a95ba098ae6eb81b082e024c65
tree0c55fab77e3d526e3e2da14b9fb1a2aaa82602ca
parent41051daa38a778dd6da49f854442260ebc029894
tracing/kprobe: Remove cleanup code unrelated to selftest

This cleanup all kprobe events code is not related to the selftest
itself, and it can fail by the reason unrelated to this test.
If the test is successful, the generated events are cleaned up.
And if not, we cannot guarantee that the kprobe events will work
correctly. So, anyway, there is no need to clean it up.

Link: https://lore.kernel.org/all/171811265627.85078.16897867213512435822.stgit@devnote2/
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_kprobe.c