Re: [PATCH 1/1] ftrace: avoid duplicated function when writingset_graph_function

From: Ingo Molnar
Date: Thu Dec 04 2008 - 03:43:22 EST



* Liming Wang <liming.wang@xxxxxxxxxxxxx> wrote:

> Impact: fix a bug
>
> when writing function to set_graph_function, we should check whether it
> has existed in set_graph_function to avoid duplicating.
>
> Signed-off-by: Liming Wang <liming.wang@xxxxxxxxxxxxx>
> ---
> kernel/trace/ftrace.c | 10 ++++++++--
> 1 files changed, 8 insertions(+), 2 deletions(-)

applied to tip/tracing/ftrace, thanks!

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