Gary, On Wed, Dec 3, 2008 at 10:23 PM, <[EMAIL PROTECTED]> wrote: > > 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. > I believe it should work for all self-monitoring sessions, per-thread and system-wide. I think for RHEL5 that have utrace included. So you may want to take a look a the perfmon2 GIT tree, there is experimental utrace support for perfmon.
> 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. > Well, yes, I don't think this can work with current versions of pfmon. If it sees perfmon 2.x, then it assume x > 2 and uses a string to designate the format instead of UUID. It will use UUID only on Itanium when it detect v2.0. I think you could modify pfmon to make this work. But this is definitively not in. > 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". > Older versions of libpfm/pfmon probably do not have Intel Core processor support. ------------------------------------------------------------------------- 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