Re: [libtraceevent] hrtimer_expire_entry unknown op '{'

From: Steven Rostedt
Date: Tue Nov 05 2013 - 08:16:29 EST


On Tue, 5 Nov 2013 12:37:55 +0300
Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> wrote:

> Hello,
>
> libtraceevent reports ` unknown op '{' ' while processing hrtimer_expire_entry event

Yes, we need to port the plugin code from trace-cmd to handle this and
other cases. It's a known issue.

-- Steve

>
> cat /sys/kernel/debug/tracing/events/timer/hrtimer_expire_entry/format
>
> name: hrtimer_expire_entry
> ID: 91
> format:
> field:unsigned short common_type; offset:0; size:2; signed:0;
> field:unsigned char common_flags; offset:2; size:1; signed:0;
> field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
> field:int common_pid; offset:4; size:4; signed:1;
>
> field:void * hrtimer; offset:8; size:8; signed:0;
> field:s64 now; offset:16; size:8; signed:1;
> field:void * function; offset:24; size:8; signed:0;
>
> print fmt: "hrtimer=%p function=%pf now=%llu", REC->hrtimer, REC->function, (unsigned long long)(((ktime_t) { .tv64 = REC->now }).tv64)
>
>
> -ss

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/