Re: [PATCH 4/5] libtraceevent: Add __rel_loc relative location attribute support

From: Masami Hiramatsu
Date: Mon Nov 22 2021 - 00:05:54 EST


Hi Steve,

On Tue, 16 Nov 2021 17:23:32 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Mon, 15 Nov 2021 19:20:36 +0900
> Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> > Add '__rel_loc' new dynamic data location attribute which encodes
> > the data location from the next to the field itself. This is similar
> > to the '__data_loc' but the location offset is not from the event
> > entry but from the next of the field.
> >
> > This patch adds '__rel_loc' decoding support in the libtraceevent.
>
> Note, libtraceevent in the kernel is deprecated.

Without this patch, perf build is failed even if I installed

>
> Care to send a patch against:
>
> https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/

this libtraceevent.

So it seems that the in-kernel libtraceevent source and header are
still in use.

Thank you,

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>