Re: /proc/profile in 2.4 for ppc?

From: Ian Wienand (ianw@gelato.unsw.edu.au)
Date: Mon Feb 10 2003 - 23:43:19 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:31 EST