lkml.org 
[lkml]   [2021]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] libtraceevent: Add __rel_loc relative location attribute support
On Mon, 15 Nov 2021 19:20:36 +0900
Masami Hiramatsu <mhiramat@kernel.org> 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.

Care to send a patch against:

https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/

And Cc linux-trace-devel@vger.kernel.org

Thanks!

-- Steve

>
> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
> ---
> 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(-)

\
 
 \ /
  Last update: 2021-11-16 23:25    [W:0.110 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site