Skip to content

trace: fix simpletrace.stp flight recorder mode

Stefan Hajnoczi qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to my tracing tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Don't emit event ID mapping records in simpletrace.stp [Daniel Berrange]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2trace: use static event ID mapping in simpletrace.stpscripts/tracetool/format/simpletrace_stap.py+2 -291 reply
2/2simpletrace: fix flight recorder --no-header optionscripts/simpletrace.py+18 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDaniel P. Berrange
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH for-2.10 v2 0/2] trace: fix simpletrace.stp flight recorder mode

v2:
* Don't emit event ID mapping records in simpletrace.stp [Daniel Berrange]

The SystemTap flight recorder mode no longer works with simpletrace.stp because the event ID mapping records are emitted the first time an event fires. Chances are, the event ID mapping record will not be in ring buffer when the users wants to print the trace.

This series solves the issue by using the trace-events-all global event ordering for event IDs for simpletrace.stp.

Stefan Hajnoczi (2):
trace: use static event ID mapping in simpletrace.stp
simpletrace: fix flight recorder --no-header option

 scripts/simpletrace.py                       | 24 +++++++++++++++------
 scripts/tracetool/format/simpletrace_stap.py | 31 ++--------------------------
 2 files changed, 20 insertions(+), 35 deletions(-)
Signature · 1 line
2.13.4