Re: [PATCH 4/5] libtraceevent: Add __rel_loc relative location attribute support
From: Steven Rostedt
Date: Tue Nov 16 2021 - 17:23:37 EST
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.
Care to send a patch against:
https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
And Cc linux-trace-devel@xxxxxxxxxxxxxxx
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(-)