Re: [PATCH v5 2/5] tracing: Use __free() in trace_probe for cleanup

2025-01-08 Thread Steven Rostedt
On Wed, 8 Jan 2025 11:10:57 +0900 "Masami Hiramatsu (Google)" wrote: > From: Masami Hiramatsu (Google) > > Use __free() in trace_probe to cleanup some gotos. > > Signed-off-by: Masami Hiramatsu (Google) > --- > Changes in v5: > - Fix to remove kfree() in for loop. Since I confirmed __free

[PATCH v5 2/5] tracing: Use __free() in trace_probe for cleanup

2025-01-07 Thread Masami Hiramatsu (Google)
From: Masami Hiramatsu (Google) Use __free() in trace_probe to cleanup some gotos. Signed-off-by: Masami Hiramatsu (Google) --- Changes in v5: - Fix to remove kfree() in for loop. Since I confirmed __free(kfree) is called in each iteration. --- kernel/trace/trace_probe.c | 51