summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorStefan Hajnoczi2017-06-05 12:42:15 +0200
committerStefan Hajnoczi2017-06-13 15:35:10 +0200
commit79cad8b46ba79116ded5690ea2e265585bb9cb53 (patch)
tree7e07e694d5f739cdd0a83dd67d1944b80cefcc32 /trace-events
parentMerge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.10-20170609' int... (diff)
downloadqemu-79cad8b46ba79116ded5690ea2e265585bb9cb53.tar.gz
qemu-79cad8b46ba79116ded5690ea2e265585bb9cb53.tar.xz
qemu-79cad8b46ba79116ded5690ea2e265585bb9cb53.zip
monitor: add handle_hmp_command trace event
It is often useful to correlate QEMU-internal events with monitor commands that caused them. Trace the full HMP command being executed. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20170605104216.22429-2-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events1
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index b496be94d4..6fe78180f0 100644
--- a/trace-events
+++ b/trace-events
@@ -45,6 +45,7 @@ qemu_system_powerdown_request(void) ""
monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p"
monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"
monitor_protocol_event_queue(uint32_t event, void *qdict, uint64_t rate) "event=%d data=%p rate=%" PRId64
+handle_hmp_command(void *mon, const char *cmdline) "mon %p cmdline: %s"
# dma-helpers.c
dma_blk_io(void *dbs, void *bs, int64_t offset, bool to_dev) "dbs=%p bs=%p offset=%" PRId64 " to_dev=%d"