linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* /proc/profile in 2.4 for ppc?
@ 2003-02-11  1:15 Dan Kegel
  2003-02-11  4:43 ` Ian Wienand
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Kegel @ 2003-02-11  1:15 UTC (permalink / raw)
  To: linux-kernel

Anyone know offhand if the 2.4 kernel supports kernel profiling
via /proc/profile for ppc?

(Support for this for the 2.2 kernel was posted on 18 Aug 2000; see
http://members.xoom.com/greyhams/linux/patches/2.2/profile.patch
http://marc.theaimsgroup.com/?l=linux-kernel&m=96684695930338&w=2
Unfortunately the patch in question is offline so it's hard
to just download it and check to see if it's in the source...)

Thanks,
Dan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /proc/profile in 2.4 for ppc?
  2003-02-11  1:15 /proc/profile in 2.4 for ppc? Dan Kegel
@ 2003-02-11  4:43 ` Ian Wienand
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Wienand @ 2003-02-11  4:43 UTC (permalink / raw)
  To: Dan Kegel; +Cc: linux-kernel

On Mon, Feb 10, 2003 at 05:15:20PM -0800, Dan Kegel wrote:
> Anyone know offhand if the 2.4 kernel supports kernel profiling
> via /proc/profile for ppc?

I haven't tried it but it looks ok.  see arch/ppc/kernel/time.c
timer_interrupt() and ppc_do_profile().

boot with profile=2 as a kernel option and use 'readprofile', that
will tell you for sure.

-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-11  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-11  1:15 /proc/profile in 2.4 for ppc? Dan Kegel
2003-02-11  4:43 ` Ian Wienand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).