aboutsummaryrefslogtreecommitdiff
path: root/vl.c
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 /vl.c
parenta46b24fd5dfd6814bafa65e51d8da86ce8eef7f5 (diff)
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 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 7643f16351..770cb7fabb 100644
--- a/vl.c
+++ b/vl.c
@@ -642,7 +642,7 @@ void runstate_set(RunState new_state)
RunState_lookup[new_state]);
abort();
}
-
+ trace_runstate_set(new_state);
current_run_state = new_state;
}