[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    Re: Backporting oprofile to 2.4 kernels (XScale arch)
From:       Zwane Mwaikambo <zwane () linuxpower ! ca>
Date:       2004-07-24 16:57:03
Message-ID: Pine.LNX.4.58.0407241251001.1462 () montezuma ! fsmlabs ! com
[Download RAW message or body]

On Sun, 11 Jul 2004, Luca Rossato wrote:

> - first I'll need to apply the oprofile-related patches in
> kernel-2.4.21-4.EL.src.rpm to my version of the kernel. Since I'm starting
> from a 2.4.21 kernel that's already been heavily patched (to add support
> first generically for ARM, then specifically for XScale, and then even more
> specifically for the Intel Bulverde evaluation board that we're developing
> on), I will have to go through the patches by hand to check that source
> files and lines match, and to see whether there are any conflicts between
> the various modifications;

Backporting the generic ARM changes in OProfile and the Linux kernel are
minimal and is only a few hours work at most. Additionally, the XScale
specific machine support is fairly isolated, so you can get away with
copying files piecemeal, the whole affair should only take you a day or
so.

> - then I'll need to study the 2.6 kernel code which was written to make
> oprofile support ARM and XScale, and by comparing it e.g. with x86-specific
> oprofile code and with what's in linux-2.4.20-x86-oprofile.patch, I'll have
> to rewrite the code to make it work with the custom functions and data
> structures that Red Hat used in the backporting;

RH's backport should help a lot.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic