public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* about Linux Module Profiling Tool
@ 2004-10-07 12:43 anil dahiya
  2004-10-07 13:01 ` Neil Horman
  0 siblings, 1 reply; 4+ messages in thread
From: anil dahiya @ 2004-10-07 12:43 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 226 bytes --]

Hello
 
If anyone have idea about linux module profiling tools
then let me know
 
-----Anil Kumar 
 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: about Linux Module Profiling Tool
  2004-10-07 12:43 about Linux Module Profiling Tool anil dahiya
@ 2004-10-07 13:01 ` Neil Horman
  2004-10-07 13:23   ` anil dahiya
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Horman @ 2004-10-07 13:01 UTC (permalink / raw)
  To: anil dahiya; +Cc: linux-kernel

anil dahiya wrote:
> Hello
>  
> If anyone have idea about linux module profiling tools
> then let me know
>  
> -----Anil Kumar 
>  
> 
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> -
> 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/


What kind of profiling do you want to do?
Neil

-- 
/***************************************************
  *Neil Horman
  *Software Engineer
  *Red Hat, Inc.
  *nhorman@redhat.com
  *gpg keyid: 1024D / 0x92A74FA1
  *http://pgp.mit.edu
  ***************************************************/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: about Linux Module Profiling Tool
  2004-10-07 13:01 ` Neil Horman
@ 2004-10-07 13:23   ` anil dahiya
  2004-10-07 15:56     ` Randy.Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: anil dahiya @ 2004-10-07 13:23 UTC (permalink / raw)
  To: Neil Horman; +Cc: linux-kernel

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.

---- Anil Kumar
   


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: about Linux Module Profiling Tool
  2004-10-07 13:23   ` anil dahiya
@ 2004-10-07 15:56     ` Randy.Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2004-10-07 15:56 UTC (permalink / raw)
  To: anil dahiya; +Cc: nhorman, linux-kernel

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-07 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07 12:43 about Linux Module Profiling Tool anil dahiya
2004-10-07 13:01 ` Neil Horman
2004-10-07 13:23   ` anil dahiya
2004-10-07 15:56     ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox