Re: KERNEL PROFILING

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi
If I use the command line option "profile=2" while booting the system, why /proc/profile file is not created? Should I have to create it manually?


Thanking You'
Shesha





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

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


_________________________________________________________________
Say it now. Say it online. http://www.msn.co.in/ecards/ Send e-cards to your love


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux