Re: [PATCH] fprobe: Simplify fprobe_remove_ips() by reusing existing helpers
From: Steven Rostedt
Date: Fri Aug 07 2026 - 20:54:45 EST
On Wed, 29 Jul 2026 08:29:58 +0900
"Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:
> From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>
> fprobe_remove_ips() manually duplicates the unregister and filter-removal
> logic for both graph and ftrace ops. Simplify it by delegating to the
> existing fprobe_graph_remove_ips() and fprobe_ftrace_remove_ips() helpers.
>
> Assisted-by: Antigravity:gemini-3.6-flash
> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> ---
Reviewed-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
-- Steve