Re: [libtraceevent] hrtimer_expire_entry unknown op '{'

From: Sergey Senozhatsky
Date: Tue Nov 05 2013 - 08:27:29 EST


On (11/05/13 08:15), Steven Rostedt wrote:
> Date: Tue, 5 Nov 2013 08:15:22 -0500
> From: Steven Rostedt <rostedt@xxxxxxxxxxx>
> To: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Namhyung Kim
> <namhyung@xxxxxxxxxx>, Jon Stanley <jonstanley@xxxxxxxxx>, Sasha Levin
> <sasha.levin@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [libtraceevent] hrtimer_expire_entry unknown op '{'
> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-pc-linux-gnu)
>
> 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.
>

oh, sorry for the noise then. thanks.

-ss

> -- 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/