Re: perf trace errors

Frederic Weisbecker
2009-10-11T12:20:10Z

On Sun, Oct 11, 2009 at 04:54:41AM +0200, Christoph Hellwig wrote:
> I get some rather interesting errors using perf trace with the block
> tracepoints on current mainline, e.g.:
>
> perf record -f -e 'block:block_bio_queue:record' -R -F 1 -a -s
> <do some disk I/O end then ctrl+c>
> ^C[ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 0.237 MB perf.data (~10362 samples) ]
>
> brick:/home/hch# perf trace
> Fatal: unknown op '-'
> xfssyncd-4232 [000] 87.798249255: block_bio_queue: 253,
>
> There are lots of occurances of that exactly same warning in
> builtin-trace.c, and the code sourrouning them is sufficiently enough
> convoluted that I'm not able to track it down.

Yeah, there are still some trace events that are not well supported
in perf trace, for now... I'll fix that by the time.

Thanks.