diff mbox series

trace: fix runstate tracing

Message ID 20190426102115.30002-1-yury-kotov@yandex-team.ru
State New
Headers show
Series trace: fix runstate tracing | expand

Commit Message

Yury Kotov April 26, 2019, 10:21 a.m. UTC
Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
---
 vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vladimir Sementsov-Ogievskiy April 29, 2019, 4:43 a.m. UTC | #1
Oops, my fault, sorry:( Thank you for fixing!

May be added, that it is broken since ff12e3ae3d0.

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>

26.04.2019 13:21, Yury Kotov wrote:
> Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
> ---
>   vl.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/vl.c b/vl.c
> index ff5dfb6fbc..ad9b181e57 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -725,7 +725,7 @@ void runstate_set(RunState new_state)
>       assert(new_state < RUN_STATE__MAX);
>   
>       trace_runstate_set(current_run_state, RunState_str(current_run_state),
> -                       new_state, RunState_str(current_run_state));
> +                       new_state, RunState_str(new_state));
>   
>       if (current_run_state == new_state) {
>           return;
>
Stefan Hajnoczi April 29, 2019, 4:11 p.m. UTC | #2
On Fri, Apr 26, 2019 at 01:21:15PM +0300, Yury Kotov wrote:
> Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
> ---
>  vl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan
diff mbox series

Patch

diff --git a/vl.c b/vl.c
index ff5dfb6fbc..ad9b181e57 100644
--- a/vl.c
+++ b/vl.c
@@ -725,7 +725,7 @@  void runstate_set(RunState new_state)
     assert(new_state < RUN_STATE__MAX);
 
     trace_runstate_set(current_run_state, RunState_str(current_run_state),
-                       new_state, RunState_str(current_run_state));
+                       new_state, RunState_str(new_state));
 
     if (current_run_state == new_state) {
         return;