diff --git a/trace-events b/trace-events index 406fe5f408a63aae42eb20ed54d733c8f0203211..85dd49c180edb203d078eb53d9bb9586154732a8 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" diff --git a/vl.c b/vl.c index 7643f163512bb5cf22a36797e9eeef5ba77eff0f..770cb7fabb8459740cfea5416ae7986a0f3af760 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; }