[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250107205344.4636e3565c507a1322937dfd@kernel.org>
Date: Tue, 7 Jan 2025 20:53:44 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
Cc: Steven Rostedt <rostedt@...dmis.org>, Peter Zijlstra
<peterz@...radead.org>, Anil S Keshavamurthy
<anil.s.keshavamurthy@...el.com>, "David S . Miller" <davem@...emloft.net>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>, Oleg Nesterov
<oleg@...hat.com>, Tzvetomir Stoyanov <tz.stoyanov@...il.com>, Naveen N Rao
<naveen@...nel.org>, Josh Poimboeuf <jpoimboe@...nel.org>, Jason Baron
<jbaron@...mai.com>, Ard Biesheuvel <ardb@...nel.org>,
linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org
Subject: Re: [PATCH v3 0/5] tracing/probes: Cleanup with guard and __free
for kprobe and fprobe
On Tue, 7 Jan 2025 20:50:03 +0900
"Masami Hiramatsu (Google)" <mhiramat@...nel.org> wrote:
> Hi,
>
> Here is the 3rd version of the series to fix and cleanup probe events in
> ftrace with __free(). I resend this without dynevent and argv_free
> parts because it has been sent by Steve[1]. And I updated the version
> tag.
>
> In this version, I fixed some issues[5/7] and update DEFINE_FREE() tag
> name to specify freeing function name so that reader can understand it
> easily[2/7].
> Also, I added trace_fprobe cleanup with free[7/7].
Ah, these numbers should be updated. So fixed some issues in [3/5] and
add trace_fprobe.c update in [5/5].
Thanks,
>
> Thanks,
>
> ---
>
> Masami Hiramatsu (Google) (5):
> tracing/kprobes: Fix to free objects when failed to copy a symbol
> tracing: Use __free() in trace_probe for cleanup
> tracing: Use __free() for kprobe events to cleanup
> tracing/kprobes: Simplify __trace_kprobe_create() by removing gotos
> tracing: Adopt __free() and guard() for trace_fprobe.c
>
>
> kernel/trace/trace_fprobe.c | 129 +++++++++++++++++++-----------------------
> kernel/trace/trace_kprobe.c | 133 ++++++++++++++++++++++---------------------
> kernel/trace/trace_probe.c | 52 ++++++-----------
> 3 files changed, 145 insertions(+), 169 deletions(-)
>
> --
> Masami Hiramatsu (Google) <mhiramat@...nel.org>
--
Masami Hiramatsu (Google) <mhiramat@...nel.org>
Powered by blists - more mailing lists