[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180725114304.6a5207af@gandalf.local.home>
Date: Wed, 25 Jul 2018 11:43:04 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Artem Savkov <asavkov@...hat.com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] tracing/kprobes: Fix trace_probe flags on
enable_trace_kprobe() failure
On Wed, 25 Jul 2018 10:35:57 -0500
Josh Poimboeuf <jpoimboe@...hat.com> wrote:
> On Wed, Jul 25, 2018 at 04:20:38PM +0200, Artem Savkov wrote:
> > If enable_trace_kprobe fails to enable the probe in enable_k(ret)probe
> > it returns an error, but does not unset the tp flags it set previously.
> > This results in a probe being considered enabled and failures like being
> > unable to remove the probe through kprobe_events file since probes_open()
> > expects every probe to be disabled.
> >
> > Signed-off-by: Artem Savkov <asavkov@...hat.com>
>
> Reviewed-by: Josh Poimboeuf <jpoimboe@...hat.com>
>
Thanks Josh!
Queued up and currently being tested.
-- Steve
Powered by blists - more mailing lists