Re: [PATCH 4/5] libtraceevent: Add __rel_loc relative location attribute support
From: Masami Hiramatsu
Date: Wed Nov 17 2021 - 09:33:23 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.
Ah, got it.
>
> Care to send a patch against:
>
> https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
>
> And Cc linux-trace-devel@xxxxxxxxxxxxxxx
Should I cc to LKML too?
Thank you,
>
> Thanks!
>
> -- Steve
>
> >
> > Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> > ---
> > tools/lib/traceevent/event-parse.c | 14 ++++++++++++++
> > tools/lib/traceevent/event-parse.h | 1 +
> > tools/lib/traceevent/parse-filter.c | 5 ++++-
> > 3 files changed, 19 insertions(+), 1 deletion(-)
>
--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>