From d83469d317436e793e8344fd8409bff59746862f Mon Sep 17 00:00:00 2001 From: Alfredo Mazzinghi Date: Fri, 31 Mar 2023 20:11:05 +0100 Subject: [PATCH] Restore entry buffer size var. --- accel/tcg/log_instr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/accel/tcg/log_instr.c b/accel/tcg/log_instr.c index ea879f401a..621d6e52c0 100644 --- a/accel/tcg/log_instr.c +++ b/accel/tcg/log_instr.c @@ -89,6 +89,14 @@ qemu_log_instr_backend_t qemu_log_instr_backend = QEMU_LOG_INSTR_BACKEND_TEXT; static const char *trace_logfile_name = "qemu_trace.txt"; +/* + * The number of entries in the trace buffer at startup. + * + * This is set by hooks in the command line argument parsing before + * CPUs are initialized. + */ +static unsigned long reset_entry_buffer_size = DEFAULT_ENTRY_BUFFER_SIZE; + /* Current format callbacks. */ static trace_backend_hooks_t *trace_backend;