Skip to content

tracing: Snapshot command line and branch tracer fix

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tracing: Add alloc_snapshot kernel command line parameterDocumentation/kernel-parameters.txt kernel/trace/trace.c kernel/trace/trace.h +1 more+58 -360 replies
2/2tracing: Fix the branch tracer that broke with buffer changekernel/trace/trace_branch.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [for-next][PATCH 0/2] tracing: Snapshot command line and branch tracer fix

Two more patches to my queue. I added alloc_snapshot to the kernel command line parameter to alloc allocation of the snapshot buffer when the main tracing buffer is allocated, allowing the use of tracing_snapshot() without the fear of it not being allocated.

Also Fengguang Wu's tests discovered that my changes broke the branch tracer. I guess I should add that to my test suite ;-)

Steven Rostedt (Red Hat) (2):
tracing: Add alloc_snapshot kernel command line parameter
tracing: Fix the branch tracer that broke with buffer change

----

 Documentation/kernel-parameters.txt |    7 +++
 kernel/trace/trace.c                |   81 +++++++++++++++++++++--------------
 kernel/trace/trace.h                |    2 +-
 kernel/trace/trace_branch.c         |    4 +-
 kernel/trace/trace_events.c         |    4 +-
 5 files changed, 60 insertions(+), 38 deletions(-)