[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180713115301.532ab1484e8b0befd90782d0@kernel.org>
Date: Fri, 13 Jul 2018 11:53:01 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Francis Deslauriers <francis.deslauriers@...icios.com>
Cc: rostedt@...dmis.org, peterz@...radead.org,
mathieu.desnoyers@...icios.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] tracing: kprobes: Prohibit probing on notrace
functions
On Thu, 12 Jul 2018 13:54:12 -0400
Francis Deslauriers <francis.deslauriers@...icios.com> wrote:
> From: Masami Hiramatsu <mhiramat@...nel.org>
>
> Prohibit kprobe-events probing on notrace function.
> Since probing on the notrace function can cause recursive
> event call. In most case those are just skipped, but
> in some case it falls into infinite recursive call.
BTW, I'm considering to add an option to allow putting
kprobes on notrace function - just for debugging
ftrace by kprobes. That is "developer only" option
so generally it should be disabled, but for debugging
the ftrace, we still need it. Or should I introduce
another kprobes module for debugging it?
Thank you,
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists