Re: [perfmon2] Cannot determine host kernel perfmon version

2009-02-18 Thread Corey J Ashford
Hello Lingchuan Meng, Does your kernel have the perfmon2 patch set compiled into it? perfmon2 is not yet in the kernel.org kernel at this point nor in many distros, and so you either need to patch your current kernel with the appropriate perfmon2 patch set from here: http://sourceforge.net/pr

Re: [perfmon2] Cannot determine host kernel perfmon version

2009-02-18 Thread Robert Richter
Lingchuan, On 17.02.09 19:45:13, Lingchuan Meng wrote: > I'm new to Perfmon2. I am not able to start pfmon after installation. > The error message says: > > "Cannot determine host kernel perfmon version, check /sys/kernel/perfmon" > > There is no permon in /sys/kernel. I've googled around, and f

Re: [perfmon2] Cannot determine host kernel perfmon version

2009-02-17 Thread john spurling
Are you using a kernel with perfmon support compiled in? I don't believe pfmon will work by itself; you probably need to patch the kernel source, recompile, and boot from it before you can do anything with either pfmon or libpfm. Good luck. -john Lingchuan Meng wrote: > Hi all, > > I'm new t

Re: [perfmon2] Cannot determine host kernel perfmon version

2009-02-17 Thread Gaurav Dhiman
It seems you did not include perfmon2 which building your kernel. Basically, once you have patched your kernel with perfmon2, then you need to select perfmon2 to be built into your kernel using "make menuconfig", and then build it. The pfmon error message should go away once you boot into this kern

[perfmon2] Cannot determine host kernel perfmon version

2009-02-17 Thread Lingchuan Meng
Hi all, I'm new to Perfmon2. I am not able to start pfmon after installation. The error message says: "Cannot determine host kernel perfmon version, check /sys/kernel/perfmon" There is no permon in /sys/kernel. I've googled around, and found that a solution doesn't seem to have been discussed.