Skip to content

ftrace: port to the new ring_buffer

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ftrace: give time for wakeup test to runkernel/trace/trace_selftest.c+3 -00 replies
2/6Unified trace bufferinclude/linux/ring_buffer.h kernel/trace/Kconfig kernel/trace/Makefile +1 more+1807 -03 replies
3/6ring_buffer: add paranoid check for buffer pagekernel/trace/ring_buffer.c+11 -00 replies
4/6ring_buffer: reset buffer page when freeingkernel/trace/ring_buffer.c+15 -40 replies
5/6ftrace: make work with new ring bufferkernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_boot.c +8 more+288 -7980 replies
6/6ftrace: take advantage of variable length entrieskernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_boot.c +1 more+302 -2648 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/6] ftrace: port to the new ring_buffer

These patches are against linux-tip.

The first is just a fix in the wakeup selftest.

The next is a port of the Unified tracer buffer to linux-tip and some updates.

After that is the ftrace port to use the ring buffer, followed by some more enhancements to ftrace because of the new variable length buffer.

I tried a few configurations and tried to test all the different ftrace tracers, but I'm sure there may be some bugs still to work out. I worked out all those that I found.

But, with the ring_buffer I can envision several ways to clean up ftrace and to make adding new tracers cleaner.

I'm also thinking about making a way that each tracer can allocate its own buffer, and allow for more than one tracer to be running at the same time! (only with different buffers).

-- Steve