Skip to content

tracing/function_graph fixes for 2.6.31

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: Fix invalid function_graph entrykernel/trace/trace_functions_graph.c+9 -20 replies
2/2tracing: Fix missing function_graph events when we splice_read from trace_pipekernel/trace/trace.c+7 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] tracing/function_graph fixes for 2.6.31

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(-)