Hello,
On Mon, Jun 12, 2006 at 09:15:28AM -0600, David Nellans wrote:
> I'm new to using perfmon so forgive me if i've overlooked something 
> obvious.  I believe I've managed to get it installed properly on a pentium 
> M laptop for testing.  Had to enable lapic and loading the _pm module 
> appears to be working fine ala dmesg output.
> 
> No matter what i seem to do however when i try anything of substance usng 
> pfmon i get a context error and it chokes.  for instance:
> 
> pfmon ls
> pfm_create_context error Bad file descriptor
> can't create perfmon context: Bad file descriptor(9)
> 
You have to be careful with the versin of libpfm you are using. Due
to additions of system calls, the perfmon syscalls get bumped and
if you have a mismatch between what libpfm knows and what the kernel uses
you get into this situation. 

If you tell me which kernel patch you are using I can tell you which libpfm
to use.

-- 

-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to