[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090116111954.GB20082@elte.hu>
Date: Fri, 16 Jan 2009 12:19:54 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Chris Mason <chris.mason@...cle.com>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 2/2] ftrace: add stack trace to function tracer
* Steven Rostedt <rostedt@...dmis.org> wrote:
> From: Steven Rostedt <srostedt@...hat.com>
>
> Impact: new feature to stack trace any function
>
> Chris Mason asked about being able to pick and choose a function
> and get a stack trace from it. This feature enables his request.
>
> # echo io_schedule > /debug/tracing/set_ftrace_filter
> # echo function > /debug/tracing/current_tracer
> # echo func_stack_trace > /debug/tracing/trace_options
>
> Produces the following in /debug/tracing/trace:
>
> kjournald-702 [001] 135.673060: io_schedule <-sync_buffer
> kjournald-702 [002] 135.673671:
> <= sync_buffer
> <= __wait_on_bit
> <= out_of_line_wait_on_bit
> <= __wait_on_buffer
> <= sync_dirty_buffer
> <= journal_commit_transaction
> <= kjournald
neat!
Ingo
--
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