mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: anil dahiya <ak_ait@yahoo.com>
Cc: nhorman@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: about Linux Module Profiling Tool
Date: Thu, 7 Oct 2004 08:56:39 -0700	[thread overview]
Message-ID: <20041007085639.09f2701b.rddunlap@osdl.org> (raw)
In-Reply-To: <20041007132343.83278.qmail@web60206.mail.yahoo.com>

On Thu, 7 Oct 2004 06:23:43 -0700 (PDT) anil dahiya wrote:

| anil kumar : 
|  > If anyone have idea about linux module profiling
|  > tools>> >  
| 
| Neil :
|   > What kind of profiling do you want to do?
|   
| 
| Anil Kumar :
| 
| after booting system, I am loading my network device
| driver module in linux kernel .
| 
| I wanna to know how much time is taking by functions
| of my module at any time (i.e just after loading
| module or just after sending or receiving data etc).
| So I  can improve performance of my module by
| improving those function which taking maximum time or 
| cpu utilization.


Check out oprofile:
in kernel tree, Documentation/basic_profiling.txt (2.6.x)

Basic in-kernel profiling (older version, before oprofile)
does not work with loadable modules, just with in-kernel code.
You could use this if you build your driver in-kernel.

There are also some performance-counter patches, but
I don't know how to use them [if your h/w supports them].

-- 
~Randy
MOTD:  Always include version info.
(Again.  Sometimes I think ln -s /usr/src/linux/.config .signature)

      reply	other threads:[~2004-10-07 16:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07 12:43 anil dahiya
2004-10-07 13:01 ` Neil Horman
2004-10-07 13:23   ` anil dahiya
2004-10-07 15:56     ` Randy.Dunlap [this message]

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=20041007085639.09f2701b.rddunlap@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=ak_ait@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nhorman@redhat.com \
    /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®