Hello all, As the subject line says, I am having some difficulty getting perfmon up and running. What I'm getting:
$ pfmon ls can't create perfmon context: function not implemented
This is running on a Pentium4 system. The patch and kernel compile went smoothly; the config options for the kernel are a possible source of my error. I enabled all of the options under "Hardware Performance Monitoring Support," should I only pick some subset? If it's important, I'm also using a preemptible kernel. The kernel is a vanilla 2.6.20 kernel, the patch I used was "perfmon-new-base-070209." Compiling and installing libpfm (3.2) required installing libelf (0.8.6). The config.mk file was left entirely with default options. I added a link in /usr/lib named "libfpm.so.3" to the file of the same name in /usr/local/lib, which was neccessary for dynamic linking during compilation of pfmon. To compile pfmon (3.2) the config.mk file was also left with default options, except name-mangling support was disabled:
CONFIG_PFMON_DEMANGLE=n
Leaving demangling on resulted in a compile error related to "libiberty.h;" I don't need name demangling for anything, so I disabled it. That's where I'm at right now. I suspect that I may have made a mistake on the config.mk files. Any help is greatly appreciated, Seth Warn _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
