From: Steven Rostedt <rostedt@goodmis.org>
To: Tim Bird <tim.bird@am.sony.com>
Cc: linux kernel <linux-kernel@vger.kernel.org>,
Ingo Molnar <mingo@elte.hu>,
Frederic Weisbecker <fweisbec@gmail.com>
Subject: Re: [PATCH 4/4] ftrace - function_duration Documentation
Date: Wed, 09 Dec 2009 22:47:20 -0500 [thread overview]
Message-ID: <1260416840.2146.134.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <4B2027C7.9010509@am.sony.com>
On Wed, 2009-12-09 at 14:42 -0800, Tim Bird wrote:
> Documentation for function_duration tracer.
> +The purpose of the function duration tracer is to help find the
> +longest-running, most time-consuming functions in the Linux kernel.
> +This is especially important for early initialization, to reduce
> +kernel boot time.
> +
> +Function duration tracing uses the ftrace ability to hook both the
> +entry and exit of a function, to record duration information for
> +kernel functions. This is similar to the function_graph tracer, but
> +the function_duration tracer is specially written to support filtering
> +by duration and decreased tracer overhead while filtering.
> +
> +This extends the amount of time that a trace can cover, and reduces
> +interference with the timing of the traced activity.
BTW, have you taken a look at the function profiler? It also keeps track
of all durations without using the ring buffer. It just adds them up and
gives an average time.
-- Steve
next prev parent reply other threads:[~2009-12-10 3:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 22:42 Tim Bird
2009-12-10 3:47 ` Steven Rostedt [this message]
2009-12-10 21:21 ` Tim Bird
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=1260416840.2146.134.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tim.bird@am.sony.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®