From: David Daney <ddaney@caviumnetworks.com>
To: Artur Baruchi <mail.baruchi@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Time Track
Date: Thu, 20 Jan 2011 13:17:59 -0800 [thread overview]
Message-ID: <4D38A687.7010300@caviumnetworks.com> (raw)
In-Reply-To: <AANLkTimP7kZnv=YrhHbeHtYHUYYuyf1GHLZ9wu_KTE_H@mail.gmail.com>
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/
>
prev parent reply other threads:[~2011-01-20 21:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-20 19:50 Artur Baruchi
2011-01-20 21:17 ` David Daney [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D38A687.7010300@caviumnetworks.com \
--to=ddaney@caviumnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mail.baruchi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®