----- Original Message -----
From: oprofile-list-request@lists.sourceforge.net
To: oprofile-list@lists.sourceforge.net
Subject: oprofile-list Digest, Vol 21, Issue 18
Date: Mon, 18 Feb 2008 12:14:29 -0800


Send oprofile-list mailing list submissions to
oprofile-list@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/oprofile-list
or, via email, send a message with subject or body 'help' to
oprofile-list-request@lists.sourceforge.net

You can reach the person managing the list at
oprofile-list-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of oprofile-list digest..."


Today's Topics:

1. profiling kernel modules (Balaji Rao)


----------------------------------------------------------------------

Message: 1
Date: Mon, 18 Feb 2008 15:03:54 +0530
From: Balaji Rao
Subject: profiling kernel modules
To: oprofile-list@lists.sourceforge.net
Cc: kernelnewbies@nl.linux.org, balbir@in.ibm.com
Message-ID: <200802181503.54954.balajirrao@gmail.com>
Content-Type: text/plain; charset="us-ascii"

Hi,

Can anyone please tell me how do I specify the path to my kernel
modules so that
I can profile them ?

The documentation on the site said that I need to pass an option -p to
opcontrol. Apparently -p option does not do this.

Please help.

--
regards,

balaji rao
NITK


You need to configure opcontrol first of all to profile kernel by specifying --vmlinux option to opcontrol.
opcontrol --vmlinux="PATH TO VMLINUX".

After profiling you can view them using opreport option --image-path

opreport -l --image-path=/lib/modules/linux-2.6.XX/kernel

This should work fine.

Thanks,
Venkat


------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

------------------------------

_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list


End of oprofile-list Digest, Vol 21, Issue 18
*********************************************

--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!