Re: [perfmon2] Question about event "BRANCH_INSTRUCTIONS_RETIRED" on x86 machine

2011-03-24 Thread stephane eranian
2011/3/22 陳韋任 : > Hi, > >> I doubt this is the problem. > > Yeah, I have tried -1 through 2. But none of them works. :/ > >> You need to make sure you have a kernel that supports PEBS. >> To do that, you can check the syslog. dmesg | fgrep PEBS should >> do it. > > $ dmesg | grep "Performance Event

Re: [perfmon2] Question about event "BRANCH_INSTRUCTIONS_RETIRED" on x86 machine

2011-03-24 Thread 陳韋任
Hi, Stephane > > $ dmesg | grep "Performance Events" > > Performance Events: PEBS fmt0+, Core2 events, Intel PMU driver. > > > On Core 2 due to a PMU erratum on cetain models, PEBS is disabled > at boot time. This is true if you have a model 15 CPU. Model 15 CPU? I can only guess what you said

Re: [perfmon2] Question about event "BRANCH_INSTRUCTIONS_RETIRED" on x86 machine

2011-03-24 Thread stephane eranian
2011/3/22 陳韋任 : > Hi, > >> I doubt this is the problem. > > Yeah, I have tried -1 through 2. But none of them works. :/ > >> You need to make sure you have a kernel that supports PEBS. >> To do that, you can check the syslog. dmesg | fgrep PEBS should >> do it. > > $ dmesg | grep "Performance Event