Skip to content

tracetool: show trace-events filename/lineno in fmt string errors

Stefan Hajnoczi qemu-devel 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4tracetool: add output filename command-line argumentdocs/devel/tracing.txt meson.build scripts/tracetool.py +2 more+34 -252 replies
2/4tracetool: add out_lineno and out_next_lineno to out()scripts/tracetool/__init__.py+9 -11 reply
3/4tracetool: add input filename and line number to Eventscripts/tracetool/__init__.py+22 -52 replies
4/4tracetool: show trace-events filename/lineno in fmt string errorsscripts/tracetool/backend/ftrace.py scripts/tracetool/backend/log.py scripts/tracetool/backend/syslog.py+12 -03 replies

Reviews trailers per patch

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

PatchPhilippe Mathieu-DaudéPeter Maydell
1/4R-b R-b
2/4R-b
3/4R-b R-b
4/4R-b

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

Read the v1 thread

Cover letter [PATCH 0/4] tracetool: show trace-events filename/lineno in fmt string errors

This patch series improves format string compiler error messages. Instead of showing the generated file, show the trace-events file where the format string is defined.

Stefan Hajnoczi (4):
tracetool: add output filename command-line argument
tracetool: add out_lineno and out_next_lineno to out()
tracetool: add input filename and line number to Event
tracetool: show trace-events filename/lineno in fmt string errors

 docs/devel/tracing.txt              |  3 +-
 meson.build                         |  3 +-
 scripts/tracetool.py                | 12 ++++---
 scripts/tracetool/__init__.py       | 53 +++++++++++++++++++++++++----
 scripts/tracetool/backend/ftrace.py |  4 +++
 scripts/tracetool/backend/log.py    |  4 +++
 scripts/tracetool/backend/syslog.py |  4 +++
 trace/meson.build                   | 23 +++++--------
 8 files changed, 76 insertions(+), 30 deletions(-)
Signature · 1 line
2.26.2