Re: [announce/OT] kerneltop ver. 0.7

From: Randy.Dunlap
Date: Mon May 24 2004 - 17:01:34 EST


On Mon, 24 May 2004 19:55:42 +1000 Cef (LKML) wrote:

| On Mon, 24 May 2004 15:31, William Lee Irwin III wrote:
| > On Sun, May 23, 2004 at 09:50:27PM -0700, Randy.Dunlap wrote:
| > > just a little note about kerneltop...
| > > 'kerneltop' is similar to 'top', but shows only kernel function usage
| > > (modules not included).
| > > I have updated it a bit (now version 0.7) and made sure that it
| > > works OK on Linux 2.6.x.
| > > It's available here:
| > > http://www.xenotime.net/linux/kerneltop/
| >
| > GRRR.. this tries to reset /proc/profile. Multiple megabytes of in-
| > kernel memset() at a frequency of 1Hz are extremely unfriendly.
|
| Following patch primes the buffer first time round (avoids huge total_ticks on
| first pass) and moves total_ticks to the end of the field header bar, saving
| an output line for useful data.
|
| PS: If this keeps going, we should probably take this off-list or move to
| somewhere appropriate.

I applied the total_ticks heading change. Still thinking about the
first-pass-priming-the-pump change. It's not a big deal either way IMO.

| For clarity, you might want to invert the "address function ....." line to
| separate the header from the actual displayed data (like top does).

Done.

Still considering your other suggestions. Thanks.

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