Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-07 Thread Steinar H. Gunderson
On Sun, Jan 06, 2013 at 08:48:36PM -0700, David Ahern wrote: >> Why would the two be different? > I will make a guess that is processor dependent. On an E5540 with > 3.4.11-1.fc16.x86_64, 3.6.10-2.fc16.x86_64, and 3.8 I get the same > failure message. > > But on a E5620, it works fine with 3.4 and

Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-06 Thread David Ahern
On 1/4/13 6:05 PM, Steinar H. Gunderson wrote: On Fri, Jan 04, 2013 at 05:16:27PM -0700, David Ahern wrote: Known problem. Pick one of: update perf to 3.7, add H to the command (-e cycles:ppH) or apply this patch: https://lkml.org/lkml/2012/12/28/384 I spoke too soon. This works for cycles, bu

Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-04 Thread Steinar H. Gunderson
On Fri, Jan 04, 2013 at 05:16:27PM -0700, David Ahern wrote: > Known problem. Pick one of: update perf to 3.7, add H to the command > (-e cycles:ppH) or apply this patch: > https://lkml.org/lkml/2012/12/28/384 I spoke too soon. This works for cycles, but not for branch-misses: pannekake:~> sudo

Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-04 Thread Steinar H. Gunderson
On Fri, Jan 04, 2013 at 05:16:27PM -0700, David Ahern wrote: > Known problem. Pick one of: update perf to 3.7, add H to the command > (-e cycles:ppH) or apply this patch: > https://lkml.org/lkml/2012/12/28/384 Oh, thinking of it, I've actually read about this flamew^Wdiscussion :-) Thanks! /* St

Re: PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-04 Thread David Ahern
On 1/4/13 4:47 PM, Steinar H. Gunderson wrote: [Please Cc me on any replies; I'm not subscribed to lkml] Hi, I recently upgraded from 3.6.5 to 3.7.1 to get around some MM issues that have been bothering me. However, it appears it broke PEBS: pannekake:/usr/src/linux-3.7.1# perf record -a -e

PEBS (in perf) stopped working from 3.6 -> 3.7

2013-01-04 Thread Steinar H. Gunderson
[Please Cc me on any replies; I'm not subscribed to lkml] Hi, I recently upgraded from 3.6.5 to 3.7.1 to get around some MM issues that have been bothering me. However, it appears it broke PEBS: pannekake:/usr/src/linux-3.7.1# perf record -a -e cycles:pp Error: sys_perf_event_open() syscall