Hello,

You need to apply a kernel patch for pfmon to work. Are you running on
off-the-shelf 2.6.25?
You can verify if you have perfmon support by looking at:
/sys/kernel/perfmon/version.
If you don't have this file, then you don't have perfmon support in your
kernel.


On Wed, May 28, 2008 at 10:13 AM, Caglar Ozdag <[EMAIL PROTECTED]>
wrote:

> Whatever I try to do with pfmon i get the following error message:
>
> [EMAIL PROTECTED]:/home/caglar# pfmon ls /dev/null
> pfm_create_context error Invalid argument
> can't create perfmon context: Invalid argument(22)
>
>
> Below are my system information:
>
> [EMAIL PROTECTED]:/home/caglar# uname -a
> Linux caglar-notebook 2.6.25.4 #1 SMP Tue May 27 15:49:38 EEST 2008 i686
> GNU/Linux
>
> [EMAIL PROTECTED]:/home/caglar# more /proc/cpuinfo
> processor    : 0
> vendor_id    : AuthenticAMD
> cpu family    : 15
> model        : 72
> model name    : AMD Turion(tm) 64 X2 Mobile Technology TL-52
> stepping    : 2
> cpu MHz        : 800.000
> cache size    : 512 KB
> physical id    : 0
> siblings    : 2
> core id        : 0
> cpu cores    : 2
> fdiv_bug    : no
> hlt_bug        : no
> f00f_bug    : no
> coma_bug    : no
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 1
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov
> pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm
> 3dno
> wext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid
> ttp tm
> stc
> bogomips    : 1608.92
> clflush size    : 64
> processor    : 1
> vendor_id    : AuthenticAMD
> cpu family    : 15
> model        : 72
> model name    : AMD Turion(tm) 64 X2 Mobile Technology TL-52
> stepping    : 2
> cpu MHz        : 800.000
> cache size    : 512 KB
> physical id    : 0
> siblings    : 2
> core id        : 1
> cpu cores    : 2
> fdiv_bug    : no
> hlt_bug        : no
> f00f_bug    : no
> coma_bug    : no
> fpu        : yes
> fpu_exception    : yes
> cpuid level    : 1
> wp        : yes
> flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov
> pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm
> 3dno
> wext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy ts fid vid
> ttp tm
> stc
> bogomips    : 1608.92
> clflush size    : 64
>
> ---
>
> My boss is getting very impatient i have to get this working :) Any help is
> appreciated!
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to