Skip to content

improve tracing

Vladimir Sementsov-Ogievskiy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2trace: do not calculate arguments for disabled trace-pointsscripts/tracetool/format/h.py+7 -60 replies
2/2monitor: improve tracing in handle_qmp_commandmonitor.c+3 -31 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] improve tracing

Current trace system have a drawback: parameters of trace functions are calculated even if corresponding tracepoint is disabled. Also, it looks like trace function are not actually inlined by compiler (at least for me).

Here is a fix proposal: move from function call to macros. Patch 02 is an example, of how to reduce extra calculations with help of patch 01.

Vladimir Sementsov-Ogievskiy (2):
trace: do not calculate arguments for disabled trace-points
monitor: improve tracing in handle_qmp_command

 monitor.c                     |  6 +++---
 scripts/tracetool/format/h.py | 13 +++++++------
 2 files changed, 10 insertions(+), 9 deletions(-)
Signature · 1 line
2.11.1