Skip to content

tracing/stat handling updates

Frederic Weisbecker lkml 1 version In review

Get series with b4
b4 am 20081231154147.GB5748@nowhere

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing/ftrace: handle more than one stat file per tracerkernel/trace/trace.h kernel/trace/trace_stat.c+188 -763 replies
2/2tracing/branch-tracer: adapt to the new reentrant stat tracing apikernel/trace/trace_branch.c+28 -410 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/stat handling updates

After a quick look on the need of stats tracers, it looks like it is often needed to have several stat modes/files for a single tracer.

The current tracing stat API doesn't support more than one stat file per tracer.

The first patch makes the tracing/stat Api reentrant and let a tracer able implement more than one stat file.

The second one adapts this Api to the branch tracer.

 kernel/trace/trace.h        |   35 ++++---
 kernel/trace/trace_branch.c |   69 +++++--------
 kernel/trace/trace_stat.c   |  229 +++++++++++++++++++++++++++++++------------
 3 files changed, 216 insertions(+), 117 deletions(-)