Re: latest perf code fails to parse existing data file

From: Adrian Hunter
Date: Tue Sep 03 2013 - 09:18:18 EST


On 03/09/13 15:50, David Ahern wrote:
> On 9/3/13 12:40 AM, Adrian Hunter wrote:
>> On 03/09/13 00:37, David Ahern wrote:
>>> Arnaldo/Adrian:
>>>
>>> Latest acme core tree fails to parse an existing data file:
>>>
>>> $ perf trace -i perf.data
>>> 0x16b8 [0x40]: failed to process type: 1
>>> Failed to process events, error -22
>>
>> I can't reproduce this. The following works:
>>
>> $ perf --version
>> perf version 3.9.10-100.fc17.x86_64
>> $ sudo perf record -e raw_syscalls:* ls
>> ...
>> $ tools/perf/perf --version
>> perf version 3.11.rc4.g31cd38
>> $ sudo tools/perf/perf script
>> ...
>> $ sudo tools/perf/perf trace -i perf.data
>> ...
>
> Kernel version? Is your kernel side support there?

The kernel version is the same as the perf version i.e. 3.9

>
> For me data was collected on 2.6.34 about a week ago. Processed fine up to
> the point of this patch getting added.

Is it only "perf trace" that fails or does "perf script" fail too?

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