Re: [BUG] perf: perf trace does not work anymore

From: Frederic Weisbecker
Date: Fri Apr 30 2010 - 13:40:00 EST


On Thu, Apr 29, 2010 at 02:28:02PM +0200, Stephane Eranian wrote:
> Hi,
>
> I am trying to use perf trace to dump the raw samples.
>
> $ perf record -R noploop 5
> noploop for 5 seconds
> [ perf record: Woken up 3 times to write data ]
> [ perf record: Captured and wrote 0.269 MB perf.data (~11759 samples) ]
>
> $ perf trace
> Fatal: reading input file (size expected=3 received=-1)
>
> Seems like trace does not understand the format of the perf.data file anymore.
> This used to work. Did you change the purpose of perf trace?


Yeah I've seen this recently. It doesn't seem to eventually impact the
output of perf trace.

In fact it seems it is looking for a field in a format file that doesn't exist
anymore, or something like that, in the /debug/tracing/events/header_page file.

Will fix, thanks.

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