* Time Track
@ 2011-01-20 19:50 Artur Baruchi
2011-01-20 21:17 ` David Daney
0 siblings, 1 reply; 2+ messages in thread
From: Artur Baruchi @ 2011-01-20 19:50 UTC (permalink / raw)
To: linux-kernel
Hi Guys.
I would like to know how long a function in a ginven kernel module is
taking to run. Is there a way to measure this? I've checked in some
books about kernel programming but dindt find it.
Thanks in advance.
Att.
Artur Baruchi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Time Track
2011-01-20 19:50 Time Track Artur Baruchi
@ 2011-01-20 21:17 ` David Daney
0 siblings, 0 replies; 2+ messages in thread
From: David Daney @ 2011-01-20 21:17 UTC (permalink / raw)
To: Artur Baruchi; +Cc: linux-kernel
On 01/20/2011 11:50 AM, Artur Baruchi wrote:
> Hi Guys.
>
> I would like to know how long a function in a ginven kernel module is
> taking to run. Is there a way to measure this?
Of course there is. Use the Function Graph tracer.
An alternative would be a kretprobe
> I've checked in some
> books about kernel programming but dindt find it.
>
Study ftrace and kprobes.
David Daney
> Thanks in advance.
>
> Att.
> Artur Baruchi
> --
> 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/
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-20 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-20 19:50 Time Track Artur Baruchi
2011-01-20 21:17 ` David Daney
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®