[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] improve tracing
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-devel] [PATCH 0/2] improve tracing |
Date: |
Fri, 21 Jul 2017 17:31:47 +0300 |
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(-)
--
2.11.1
- [Qemu-devel] [PATCH 0/2] improve tracing,
Vladimir Sementsov-Ogievskiy <=