[lkml]   [2011]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Time Track
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
> More majordomo info at
> Please read the FAQ at

 \ /
  Last update: 2011-01-20 22:21    [W:0.048 / U:13.908 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site