[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding Hot Paths in Linux Drivers
On Mon, Jan 07, 2002 at 11:49:31PM +0100, Erik Mouw wrote:
> On Mon, Jan 07, 2002 at 02:23:46PM -0800, Brad Remedios wrote:
> > I was wondering if anyone has any ideas or knows of any applications
> > that could be used to locate the hot paths in a kernel driver without
> > having to look through the code or do much modification to it.
> > Basically, we are looking for a way to profile where the kernel code
> > spends its time so we may concentrate on certain areas if we need to.
>
> There's Oprofile for x86 linux, I don't know if somebody ported it to
> (Strong)ARM (movement?). There was also a profiling module from Compaq
> WRL in the latest -np kernels that used OSMR2. Never tried it, though.
There is no ARM port of oprofile, however I did find this recently :
http://www.handhelds.org/pipermail/linux/2000-December/000705.html
which talks about a strongARM profiler that looks pretty similar.
Hopefully the hints there will let you get your hands on the code.
regards
john
--
"I went to set up a Yahoo ID for my dog. (Don't ask, but the DOG'S email was cluttering my inbox)."
- Ruthless Advisorette
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/