Re: [PATCH v6 4/5] tracing/kprobes: Simplify __trace_kprobe_create() by removing gotos
From: Steven Rostedt
Date: Thu Jan 09 2025 - 09:52:11 EST
On Thu, 9 Jan 2025 23:30:11 +0900
"Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:
> From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>
> Simplify __trace_kprobe_create() by removing gotos.
>
> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> ---
> Changes in v6:
> - Rename trace_kprobe_create* functions.
> - Simplify the end of trace_kprobe_create_internal() a bit.
> ---
> kernel/trace/trace_kprobe.c | 97 ++++++++++++++++++++++---------------------
> 1 file changed, 49 insertions(+), 48 deletions(-)
Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
-- Steve