Hi Stephane I am still trying to get the perfmon2 patches installed in the kernel delivered with RHEL5.1. This is basically a 2.6.18 kernel with lots of additional stuff added that was backported by redhat. We are running on the following platform: vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
I have been using the kernel patchs from file "perfmon-new-base-060926" which is the file on sourceforge offered for the 2.6.18 kernel. Due to the redhat changes I have been unable to apply the patches related to ptrace (patches related to this code have been commented out). Since the calls to ptrace_check_attach are commented out, it is my expectation that third party monitoring will not work correctly but I am hoping that first party monitoring (pfmon in sampling mode) will still work. Results so far show that I can build and load a kernel with the modified perfmon2 patches. When I try to run pfmon in sampling mode with this kernel I get errors mapping the sampling buffer. It appears the sampling buffer does not get allocated because pfmon is passing a sampling format name but libpfm and the kernel are expecting a uuid to identify the sampling format. We have been using libpfm and pfmon versions 3.5 when we see these errors. Question: Are these versions of libpfm and pfmon compatible with the kernel patch I am using or should I be using the libpfm and pfmon 3.2-060926 versions ? We have also tried the 3.2-060926 versions of libpfm and pfmon but get the error "no detected PMU support type=63". So for right now I just want to make sure I am using libpfm and pfmon versions that are supported by the kernel patch I have loaded. If I am going to chase something that does not work I want it to at least be something that should work. Thanks Gary ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel