Re: [PATCH] kprobes: Print an error if probe is rejected

From: Naveen N. Rao
Date: Mon Jun 14 2021 - 11:31:43 EST


Steven Rostedt wrote:
On Fri, 11 Jun 2021 19:25:38 +0530
"Naveen N. Rao" <naveen.n.rao@xxxxxxxxxxxxxxxxxx> wrote:

We also have perf_event_open() as an interface to add probes, and I don't think it would be helpful to require all tools to utilize the error log from tracefs for this purpose.

The there should be a perf interface to read the errors. I agree with
Masami. Let's not have console logs for probe errors.

Ok, understood.


Thanks,
Naveen