[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210610133346.4a55c60a@oasis.local.home>
Date: Thu, 10 Jun 2021 13:33:46 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>,
<linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>
Subject: Re: [PATCH] kprobes: Print an error if probe is rejected
On Thu, 10 Jun 2021 19:16:43 +0900
Masami Hiramatsu <mhiramat@...nel.org> wrote:
> Hmm, Nack for this way, but I understand that is a problem.
> If you got the error in perf probe, which uses ftrace dynamic-event interface.
> In that case, the errors should not be output in the dmesg, but are reported
> via error_log in tracefs.
> And kprobes itself should return different error code to the caller, instead
> of printing error in dmesg. See below.
We should update perf to use libtracefs that also has an interface to
read the error_log file.
-- Steve
Powered by blists - more mailing lists