From: "Randy.Dunlap" <rddunlap@osdl.org>
To: "shesha bhushan" <bhushan_vadulas@hotmail.com>
Cc: linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org
Subject: Re: KERNEL PROFILING
Date: Tue, 8 Apr 2003 08:01:55 -0700 [thread overview]
Message-ID: <20030408080155.7ce7172c.rddunlap@osdl.org> (raw)
In-Reply-To: <F149fQkPclN70dihnCB0000b051@hotmail.com>
On Tue, 08 Apr 2003 07:58:54 +0000 "shesha bhushan" <bhushan_vadulas@hotmail.com> wrote:
| HI ALL,
| I am trying to profile the linux kernel. Can any one suggest an easy way
| to do. Like, I wanted to see how much TCP is using CPU, how much of CPU is
| used in memcpy, etc.
| Can any one please suggest me.
Start with the file linux/Documentation/basic_profiling.txt
(it's in Linux 2.5.66-or-so or later).
It explains how to use oprofile and readprofile.
You can read about oprofile at http://oprofile.sourceforge.net/ .
You can read about basic in-kernel profiling using /proc/profile
and readprofile via 'man readprofile'. It's simple to use.
--
~Randy
next prev parent reply other threads:[~2003-04-08 14:50 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 7:58 shesha bhushan
2003-04-08 15:01 ` Randy.Dunlap [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-08 19:42 shesha bhushan
2003-04-08 20:03 ` Randy.Dunlap
2003-04-08 20:53 ` Andy Pfiffer
2003-02-06 16:22 kernel profiling Yours Lovingly
2003-02-05 10:56 Yours Lovingly
2003-01-22 0:34 Hui_Ning
2003-01-22 17:07 ` Hanna Linder
[not found] <3C8E5712.20E5E317@scali.com.suse.lists.linux.kernel>
2002-03-12 21:17 ` Kernel profiling Andi Kleen
2002-03-12 19:29 Steffen Persvold
2002-03-12 21:11 ` John Levon
1999-07-26 19:59 kernel profiling Karim Yaghmour
[not found] <7m3tm8$7lvnt@fido.engr.sgi.com>
1999-07-09 20:43 ` Dimitris Michailidis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030408080155.7ce7172c.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=bhushan_vadulas@hotmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®