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 about fixing this?

Error message:

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

Thanks,
Vishal

On 11/28/2010 10:49 AM, Vishal Gupta wrote:
> 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 installation is 
> notcomplete? I can run pfmon -L to list all the events though.
>
> This is the output of dmesg:
>
> r...@host kernel # dmesg | grep perfmon
> [  162.928554] perfmon: version 2.9
> [  162.930415] perfmon: CPU hotplug support enabled
> [  164.880788] perfmon: added sampling format default
>
> Thanks,
> Vishal
>
> On Nov 27, 2010, at 22:00, 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 implemented
>>
>>
>> Here is my setup:
>> 1. Cloned kernel 2.6.30 from Stephane's git repository
>> 2. Enable perform support in kernel, compiled, installed
>> 3. Built and installed libpfm-3.10 (pfmon does not build with libpfm4 
>> as it can't find perfmon.h)
>> 4. Built and installed pfmon-3.9
>>
>> I've ubuntu server 10.04 LTS running on an Intel core i7 processor. 
>> I'm getting the above mentioned error when I run pfmon. I'm stuck and 
>> I would really appreciate any help on this.
>>
>> Thanks,
>> Vishal
>>
>>
>>
>>
>>
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to