Re: perf user tool precise attribute broken in 3.5rc1+
From: Stephane Eranian
Date: Thu Jun 07 2012 - 17:37:30 EST
On Thu, Jun 7, 2012 at 10:58 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> On Thu, Jun 07, 2012 at 10:53:19PM +0200, Stephane Eranian wrote:
>> On Thu, Jun 7, 2012 at 10:23 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>> >
>> > With a perf user tool compiled from a 3.5rc1+ kernel I cannot
>> > use the 'p' attribute anymore. Always get
>> >
>> > ak@petrock:~> ./perf record -e cycles:p ./t
>> >
>> > ÂError: sys_perf_event_open() syscall returned with 22 (Invalid argument). Â/bin/dmesg may provide additional information.
>> >
>> > ÂFatal: No CONFIG_PERF_EVENTS=y kernel support configured?
>> >
>> Remember that PEBS is disabled on SNB unless you have the new ucode + my patch.
>
> This is not the problem. This was actually a -E where it was not disabled
> in my tree. ÂAnd the older perf binary works, so it's clearly not a kernel
> problem.
What's -E?
>
> -Andi
--
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/