lkml.org 
[lkml]   [1999]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel profiling

On 11-Jul-99 Philip Blundell wrote:
> It looks to me like the majority of the code in
> arch/i386/kernel/profile.c is
> actually not architecture dependent. Perhaps it might be better to
> put the
> common parts in kernel/profile.c and provide a small wrapper in
> include/asm-*
> to call it. This is pretty much what libc does.

True. Actually, the only arch dependent part is the little bit of
assembly to save/restore the registers in mcount(), which is needed for
it to work with regparms.

---
Dimitris Michailidis dimitris@engr.sgi.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.046 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site