Tres,

On Wed, Apr 18, 2007 at 07:23:16PM -0600, Tres A. Spicher wrote:
> My apologies for the newbie question (I know bugfixes and new features
> are more interesting), but I'm having some problems getting perfmon2
> installed.  The patch went flawlessly, as did the kernel compile;
> however, when I boot under the new kernel, none of the evidence that the
> performance monitoring interface got set up appears.  /proc/perfmon does
> not exist; /proc/interrupts does not display the perfmon interrupt, and
> dmesg does not display any evidence of perfmon being initialized.  A
> uname -a reveals that I'm not doing something stupid like booting with
> the wrong kernel.  I'm running an Intel Core 2 Duo on openSuSE 10.2,
> with the plain vanilla 2.6.20 kernel from kernel.org (patched with the
> latest perfmon patch, of course). Does anyone have any ideas? I'm
> running out of things to try.
>  
How did you compile the perfmon description modules?
What is the output of dmesg regarding perfmon?

With this version of perfmon, there is nothing in /proc. Look
at /sys/kernel/perfmon and especially at /sys/kernel/perfmon/pmu_desc.
If you've compiled the Intel Core as a module, nothing gets loaded until
you issue the first perfmon system call. So either run an example inside
the libpfm package, and do a pfmon command. Then you'll have pmu_desc populated
in /sys/kernel/perfmon.




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

Reply via email to