aboutsummaryrefslogtreecommitdiff
path: root/trace-events
diff options
context:
space:
mode:
authorKazuya Saito <saito.kazuya@jp.fujitsu.com>2013-03-22 17:26:59 +0900
committerStefan Hajnoczi <stefanha@redhat.com>2013-03-28 14:20:58 +0100
commit7e8660032cd21c1bdc4160b8fab7deec62e1aa12 (patch)
tree236f8c569e5b04139b2a009061c0e4208b248954 /trace-events
parenta46b24fd5dfd6814bafa65e51d8da86ce8eef7f5 (diff)
downloadqemu-7e8660032cd21c1bdc4160b8fab7deec62e1aa12.zip
qemu-7e8660032cd21c1bdc4160b8fab7deec62e1aa12.tar.gz
qemu-7e8660032cd21c1bdc4160b8fab7deec62e1aa12.tar.bz2
vl: add runstate_set tracepoint
This patch enables us to know RunState transition. It will be userful for investigation when the trouble occured in special event such like live migration, shutdown, suspend, and so on. Signed-off-by: Kazuya Saito <saito.kazuya@jp.fujitsu.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 406fe5f..85dd49c 100644
--- a/trace-events
+++ b/trace-events
@@ -474,6 +474,7 @@ scsi_request_sense(int target, int lun, int tag) "target %d lun %d tag %d"
# vl.c
vm_state_notify(int running, int reason) "running %d reason %d"
load_file(const char *name, const char *path) "name %s location %s"
+runstate_set(int new_state) "new state %d"
# block/qcow2.c
qcow2_writev_start_req(void *co, int64_t sector, int nb_sectors) "co %p sector %" PRIx64 " nb_sectors %d"