Skip to content

ftrace: updates for tip

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5trace: do not disable wake up tracer on output of tracekernel/trace/trace_sched_wakeup.c+2 -314 replies
2/5ring-buffer: do not swap if recording is disabledkernel/trace/ring_buffer.c kernel/trace/trace.c+16 -10 replies
3/5trace: separate out rt tasks from wakeup tracerkernel/trace/trace_sched_wakeup.c+32 -20 replies
4/5wakeup-tracer: show scheduling data in outputkernel/trace/trace_sched_wakeup.c+8 -30 replies
5/5ring-buffer: reset timestamps when ring buffer is resetkernel/trace/ring_buffer.c+3 -00 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/5] ftrace: updates for tip

Ingo,

These patches are fixes for the wakeup tracer.

The first is a fix to the empty output you reported to me earlier.

The second is a fix for the ring buffer to not record updates if it is disabled, otherwised you can get empty traces there too.

The third is the wakeup change to record all tasks and not just realtime tasks. It adds a wakeup_rt tracer to record only rt tasks.

The forth is the addition of the scheduling wakeup and sched switch output to the wakeup tracer. This is very helpful data.

The last is probably the most important, and should go into 29 as well. I never reset the timestamps used to connect the trace stamps in the buffers. This can cause stale stamps to appear and explains some of the really bad timestamps in the buffer I've seen.

-- Steve

The following patches are in:

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git

branch: tip/devel

Steven Rostedt (5):
trace: do not disable wake up tracer on output of trace
ring-buffer: do not swap if recording is disabled
trace: separate out rt tasks from wakeup tracer
wakeup-tracer: show scheduling data in output
ring-buffer: reset timestamps when ring buffer is reset

----

 kernel/trace/ring_buffer.c        |   18 ++++++++
 kernel/trace/trace.c              |    2 +-
 kernel/trace/trace_sched_wakeup.c |   78 ++++++++++++++++++++-----------------
 3 files changed, 61 insertions(+), 37 deletions(-)