Re: [PATCH 0/2] tracing/function_graph fixes for 2.6.31

From: Ingo Molnar
Date: Tue Aug 04 2009 - 07:59:06 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> Ingo, Thomas,
>
> Those are two fixes for the function graph tracer for .31
>
> The first one fixes a possible race condition between a function
> graph trace reader and ring buffer writers, leading to a mixup
> inside an event entry, or worst.
>
> The second one fixes some issues in the output of the function
> graph tracer while using splice on the trace_pipe file or
> ftrace_dump().
>
> Both fixes should also be backported on .30 for the -stable
> branch.
>
> Thanks,
> Frederic.
>
> The following changes since commit 4733fd328f14280900435d9dbae1487d110a4d56:
> Benjamin Herrenschmidt (1):
> mm: Remove duplicate definitions in MIPS and SH
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git tracing/fixes
>
> Lai Jiangshan (2):
> tracing: Fix invalid function_graph entry
> tracing: Fix missing function_graph events when we splice_read from trace_pipe
>
> kernel/trace/trace.c | 10 +++++++---
> kernel/trace/trace_functions_graph.c | 11 +++++++++--
> 2 files changed, 16 insertions(+), 5 deletions(-)

Pulled, thanks a lot Frederic!

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/