[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090325101139.GJ2341@elte.hu>
Date: Wed, 25 Mar 2009 11:11:39 +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>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Tim Bird <tim.bird@...sony.com>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 5/5][RFC] function-graph: add option to calculate graph
time or not
* Steven Rostedt <rostedt@...dmis.org> wrote:
> --- a/kernel/trace/trace_functions_graph.c
> +++ b/kernel/trace/trace_functions_graph.c
> @@ -104,9 +105,6 @@ ftrace_pop_return_trace(struct ftrace_graph_ret *trace, unsigned long *ret)
> trace->calltime = current->ret_stack[index].calltime;
> trace->overrun = atomic_read(¤t->trace_overrun);
> trace->depth = index;
> - barrier();
> - current->curr_ret_stack--;
> -
> }
>
> /*
> @@ -121,6 +119,8 @@ unsigned long ftrace_return_to_handler(void)
> ftrace_pop_return_trace(&trace, &ret);
> trace.rettime = trace_clock_local();
> ftrace_graph_return(&trace);
> + barrier();
> + current->curr_ret_stack--;
this will modify the regular graph tracer too. No discussion of this
change in the changelog - is it a fix?
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