Hi Our Linux is using a 2.6.18 kernel delivered with Redhat EL5.
I would like to install the perfmon v2.2 patches into our kernel so I downloaded the file "perfmon-new-base-060926.tar.gz" from sourceforge and expanded it into a new directory. I then merged all the .diff files in this directory into a single patch file and updated our .spec file for our kernel build to use this patch file then tried a rebuild. There were probably about 20 to 30 source files where the patches failed to apply. Some of these could be resolved by just relocating the patch but some also required changing the value assigned to new variables defined in the perfmon patches. As an example the variable TIF_PERFMON_WORK was assigned a value of 9 in the download but Redhat has already added a different variable with a value of 9 so I changed TIF_PERFMON_WORK to use a value of 10 which seemed to be available. A few of the patches provided in the download will not apply at all. They are to modules "arch/x86_64/ia32/ptrace32.c", "arch/x86_64/kernel/ptrace.c", and "arch/ia64/kernel/ptrace.c". It appears that Redhat has significantly rewritten code in these areas so it is not at all clear if or where these changes should be applied. Three questions: Has anyone already installed the perfmon v2.2 patches in a 2.6.18 kernel delivered with RHEL5 ? Is this approach (changing variable values) a reasonable way to handle conflicts with Redhat changes to the same modules ? Since I need this to run on both x86_64 and ia64 platforms, is it correct that the changes to the ptrace modules are probably important to me ? Thanks in advance for your input. 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