lkml.org 
[lkml]   [2013]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [libtraceevent] hrtimer_expire_entry unknown op '{'
On Tue, 5 Nov 2013 12:37:55 +0300
Sergey Senozhatsky <sergey.senozhatsky@gmail.com> 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



\
 
 \ /
  Last update: 2013-11-05 14:41    [W:0.105 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site