lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 20 Jan 2011 13:17:59 -0800
From:	David Daney <ddaney@...iumnetworks.com>
To:	Artur Baruchi <mail.baruchi@...il.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: 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 majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ