RFC tracing: separate out buffer from trace_seq
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracing: Change trace_seq to use separate bufferinclude/ include/ include/ +5 more | +121 | 0 replies | |
| 2/2 | tracing: Write directly into splice page for trace_pipekernel/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2][RFC] [RFC] tracing: separate out buffer from trace_seq
This is an RFC patch set. The trace_seq currently has its buffer within the structure itself. But this limits its ability and efficiency.
This patch set separates it out, but now it requires the callers to supply their own buffer. But this helps out the splice code because it can now write directly into the splice pages.
This may be too much for 33? But it is a nice fix.
Thoughs?
The following patches are in:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
branch: rfc/tracing/core
Steven Rostedt (2):
tracing: Change trace_seq to use separate buffer
tracing: Write directly into splice page for trace_pipe
----
include/linux/ftrace_event.h | 6 ++++- include/linux/trace_seq.h | 22 +++++++++++++++- include/trace/ftrace.h | 20 +++++++++++---- kernel/trace/ftrace.c | 3 +- kernel/trace/trace.c | 54 ++++++++++++++++------------------------- kernel/trace/trace_events.c | 45 +++++++++++++++++++++++++++++++---- kernel/trace/trace_ksym.c | 10 +++++++- kernel/trace/trace_output.c | 24 ++++++++++-------- 8 files changed, 125 insertions(+), 59 deletions(-)