Re: [RFC PATCH] libtraceevent: Increase libtraceevent logging when verbose

From: Steven Rostedt
Date: Thu Jun 10 2021 - 15:48:05 EST


On Thu, 10 Jun 2021 21:08:32 +0200
Jiri Olsa <jolsa@xxxxxxxxxx> wrote:

> Michael did the libtraceevent detection and dynamic linking support:
> https://lore.kernel.org/linux-perf-users/20210428092023.4009-1-mpetlan@xxxxxxxxxx/

Oh cool! I missed this.

>
> I think we should have that in Fedora/RHEL rpms already, or it's on the way.
>
> The detection code could be change to contain things we need.

Sounds great!

But the next thing we should use is libtracefs, to simplify some of the
other logic, like finding the event files, and even reading the
error_log file when a kprobe_event fails.

-- Steve