* Profiling my Modules
@ 2012-04-26 7:33 Rishi Agrawal
2012-04-26 12:42 ` Daniel Baluta
0 siblings, 1 reply; 3+ messages in thread
From: Rishi Agrawal @ 2012-04-26 7:33 UTC (permalink / raw)
To: kernelnewbies
Hi All,
I have a kernel module which has functions which take a lot of time in
execution. I am curious to know how can I profile it, and find out the
functions taking most of the time.
I saw Oprofile, but it seems that I will have to build the whole kernel,
and also that it will be difficult to profile my module through it.
Any trick or tool will do.
--
Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120426/a672f314/attachment.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Profiling my Modules
2012-04-26 7:33 Profiling my Modules Rishi Agrawal
@ 2012-04-26 12:42 ` Daniel Baluta
2012-04-26 13:31 ` Rishi Agrawal
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2012-04-26 12:42 UTC (permalink / raw)
To: kernelnewbies
On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal
<rishi.b.agrawal@gmail.com> wrote:
> Hi All,
>
> I have a kernel module which has functions which take a lot of time in
> execution. I am curious to know how can I profile it, and find out the
> functions taking most of the time.
>
> I saw Oprofile, but it seems that I will have to build the whole kernel, and
> also that it will be difficult to profile my module through it.
>
> Any trick or tool will do.
Hello,
Have a look at perf [1].
thanks,
Daniel.
[1] https://perf.wiki.kernel.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Profiling my Modules
2012-04-26 12:42 ` Daniel Baluta
@ 2012-04-26 13:31 ` Rishi Agrawal
0 siblings, 0 replies; 3+ messages in thread
From: Rishi Agrawal @ 2012-04-26 13:31 UTC (permalink / raw)
To: kernelnewbies
Thanks a lot, I will have a look at it and see if it helps.
On Thu, Apr 26, 2012 at 6:12 PM, Daniel Baluta <daniel.baluta@gmail.com>wrote:
> On Thu, Apr 26, 2012 at 10:33 AM, Rishi Agrawal
> <rishi.b.agrawal@gmail.com> wrote:
> > Hi All,
> >
> > I have a kernel module which has functions which take a lot of time in
> > execution. I am curious to know how can I profile it, and find out the
> > functions taking most of the time.
> >
> > I saw Oprofile, but it seems that I will have to build the whole kernel,
> and
> > also that it will be difficult to profile my module through it.
> >
> > Any trick or tool will do.
>
> Hello,
>
> Have a look at perf [1].
>
> thanks,
> Daniel.
>
> [1] https://perf.wiki.kernel.org/
>
--
Regards,
Rishi Agrawal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120426/213b0716/attachment.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-26 13:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 7:33 Profiling my Modules Rishi Agrawal
2012-04-26 12:42 ` Daniel Baluta
2012-04-26 13:31 ` Rishi Agrawal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.