accel/tcg: Trace tb_flush() calls
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250925035610.80605-2-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
917ac07f9a
commit
98d7c29941
2 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,7 @@
|
|||
#else
|
||||
#include "system/runstate.h"
|
||||
#endif
|
||||
|
||||
#include "trace.h"
|
||||
|
||||
/* List iterators for lists of tagged pointers in TranslationBlock. */
|
||||
#define TB_FOR_EACH_TAGGED(head, tb, n, field) \
|
||||
|
|
@ -771,6 +771,7 @@ void tb_flush__exclusive_or_serial(void)
|
|||
{
|
||||
CPUState *cpu;
|
||||
|
||||
trace_tb_flush();
|
||||
assert(tcg_enabled());
|
||||
/* Note that cpu_in_serial_context checks cpu_in_exclusive_context. */
|
||||
assert(!runstate_is_running() ||
|
||||
|
|
|
|||
|
|
@ -24,3 +24,6 @@ store_atom2_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIx
|
|||
store_atom4_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR""
|
||||
store_atom8_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR""
|
||||
store_atom16_fallback(uint32_t memop, uintptr_t ra) "mop:0x%"PRIx32", ra:0x%"PRIxPTR""
|
||||
|
||||
# tb-maint.c
|
||||
tb_flush(void) ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue