Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-30 Thread Vishal Gupta
Hi Stephane, It worked!! The problem was that I'd built my kernel with perfmon_intel_nhm as a MODULE (M option and not * in the kernel config file), that was causing this error. I did not find pmu_desc directory on my system and realized that my kernel config options might be causing the p

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-30 Thread stephane eranian
Hi, I suspect the problem is that the kernel does not recognize the model number for NHM-EX. I am sure it is not in my latest 2.6.29 patch. But if you use the GIT tree, model 46 is there so it should recognize it. What's in /sys/kernel/perfmon/pmu_desc/model? Did you compile perfmon_intel_arch or

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-29 Thread Vishal Gupta
Hi, Thanks for pointing me to that post. So I downloaded the latest libpfm and pfmon versions from CVS, but I still get the same error with them. pfmon is detecting Nehalem PMU on my machine...below is the output with -I option. I'm also pasting the output with debug and verbose options en

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-29 Thread Corey Ashford
On 11/29/2010 01:25 PM, Vishal Gupta wrote: > I digged into it a little bit more. The machine I'm using is a > quad-socket machine with four Intel X7560 processors. X7560 is a > Nehalem-EX processor. As pfmon runs fine on another Nehalem machine I've > tested, does that mean that pfmon is broken fo

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-29 Thread Vishal Gupta
I digged into it a little bit more. The machine I'm using is a quad-socket machine with four Intel X7560 processors. X7560 is a Nehalem-EX processor. As pfmon runs fine on another Nehalem machine I've tested, does that mean that pfmon is broken for Nehalem-EX processors? Any clues on how to go

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-28 Thread Vishal Gupta
For some reason, sourceforge created a separated thread for my reply, so I'm posting it again. @corey: Thanks for the response. Yes, I'm booted into the new perfmon kernel. Regarding the pseudo files, I don't see anything with name perfmon in / sys/proc/kernel . Does that mean that the insta

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-28 Thread Vishal Gupta
Hi Corey, Thanks for the response. Yes, I did install the new perfmon kernel image. Regarding the pseudo files, I don't see anything with name perfmon in / sys/proc/kernel . Does that mean that the installation is not complete? I can run pfmon -L to list all the events though. Thanks, Visha

Re: [perfmon2] can't create perfmon context: Function not implemented

2010-11-28 Thread Corey Ashford
On 11/27/2010 07:00 PM, Vishal Gupta wrote: > Hi, > > I'm having problems getting perfmon to run. I get this error while > running it: > > r...@host linux-2.6 # pfmon ls > detection of unavailable registers failed, leave it to the kernel to decide > can't create perfmon context: Function not implem

[perfmon2] can't create perfmon context: Function not implemented

2010-11-27 Thread Vishal Gupta
Hi, I'm having problems getting perfmon to run. I get this error while running it: r...@host linux-2.6 # pfmon ls detection of unavailable registers failed, leave it to the kernel to decide can't create perfmon context: Function not implemented Here is my setup: 1. Cloned kernel 2.6.30 from St

Re: [perfmon2] can't create perfmon context: Function not implemented

2009-07-10 Thread stephane eranian
Hi, Sorry for the delay. You have to be a member of the list to post. Therefore your message did not appear until I accepted it. On Mon, Jun 29, 2009 at 6:35 PM, Stephan Kammerer wrote: > Hello, > I have a Problem running pfmon2 on my Laptop. I already run it on a P4 > Desktop Machine to measure

[perfmon2] can't create perfmon context: Function not implemented

2009-07-10 Thread Stephan Kammerer
Hello, I have a Problem running pfmon2 on my Laptop. I already run it on a P4 Desktop Machine to measure a Programm and wanted to run the same on a diffrent plattform (Laptop is Pentium-M). This is all i get from pfmon: -- step...@stephan-laptop:/$ pfmon --verbose -e ITLB_MISS ls -l mea