[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/9] log: assorted improvements
From: |
Denis V. Lunev |
Subject: |
[Qemu-devel] [PATCH v2 0/9] log: assorted improvements |
Date: |
Mon, 14 Mar 2016 14:21:32 +0300 |
This patchset accumulates old patchset sent in the middle of October 2015
and recent simple changes changes.
The following is done:
- QMP/HMP/QAPI events are now logged
- timestamp is added to the log message
- arguments of qemu_log/qemu_log_mask are not calculated now if the log
is disabled
These patches are sent in the hope that it is not too late for QEMU 2.6.
Signed-off-by: Denis V. Lunev <address@hidden>
CC: Pavel Butsykin <address@hidden>
CC: Markus Armbruster <address@hidden>
CC: Luiz Capitulino <address@hidden>
CC: Eric Blake <address@hidden>
CC: Stefan Hajnoczi <address@hidden>
CC: Paolo Bonzini <address@hidden>
Changes from v1:
- added logging of QMP/HMP events
- added logging of QAPI events
- format of the timestamp is now taken out of the g_time_val_to_iso8601
- checking the timestamp flag is moved from the macro
- separate patches for QMP, HMP and QAPI.
- new fixes as patches 1-4
Denis V. Lunev (4):
trace: do not always call exit() in trace_enable_events
log: improve code in do_qemu_set_log
log: move qemu_log_close/qemu_log_flush from header to log.c
log: improve performance of qemu_log and qemu_log_mask if disabled
Pavel Butsykin (4):
log: log QMP commands and replies
log: report HMP command and event
log: report QAPI event
log: adds a timestamp to each log entry
Vladimir Sementsov-Ogievskiy (1):
qemu-log: fix cpu_reset log target
include/qemu/log.h | 43 +++++++++++++++++++-----------------
monitor.c | 23 ++++++++++++++++++++
os-posix.c | 2 +-
qom/cpu.c | 3 ++-
trace/control.c | 5 ++++-
util/log.c | 64 ++++++++++++++++++++++++++++++++++++++----------------
6 files changed, 98 insertions(+), 42 deletions(-)
--
2.5.0