[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250709104249.77fc7edf@batman.local.home>
Date: Wed, 9 Jul 2025 10:51:08 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Aditya Chillara <quic_achillar@...cinc.com>
Cc: Ingo Molnar <mingo@...hat.com>, <linux-kernel@...r.kernel.org>, Mathieu
Desnoyers <mathieu.desnoyers@...icios.com>
Subject: Re: [PATCH 2/2] tracing: Prevent double unregister of tracepoint
probes
On Wed, 9 Jul 2025 10:40:17 -0400
Steven Rostedt <rostedt@...dmis.org> wrote:
> I would make this a bit cleaner by:
>
> if ((old[nr_probes].func == tp_func->func &&
> old[nr_probes].data == tp_func->data))
> nr_del++;
>
> if (old[nr_probes].func == tp_stub_func)
> nr_tp_stub_del++;
That probably should be:
else if (old[nr_probes].func == tp_stub_func)
nr_tp_stub_del++;
-- Steve
Powered by blists - more mailing lists