Skip to content

Commit

Permalink
Disable tb_flush when switching log level.
Browse files Browse the repository at this point in the history
This should not be needed because we have flags marking TBs whenever
they contain instruction tracing instrumentation.
  • Loading branch information
qwattash committed Aug 18, 2022
1 parent 8114131 commit 7bd5a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accel/tcg/log_instr.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ static void do_cpu_loglevel_switch(CPUState *cpu, run_on_cpu_data data)
prev_level_active == next_level_active) {
goto done;
}
tb_flush(cpu);
/* tb_flush(cpu); */
/* Emit start/stop events */
if (prev_level_active) {
if (cpulog->starting) {
Expand Down

0 comments on commit 7bd5a53

Please sign in to comment.