From b384c734ecb6d6a4f121d5716f7275e8e350a6fa Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 15 Mar 2024 10:33:49 -1000 Subject: plugins: Replace pr_ops with a proper debug dump flag The DEBUG_PLUGIN_GEN_OPS ifdef is replaced with "-d op_plugin". The second pr_ops call can be obtained with "-d op". Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- util/log.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'util') diff --git a/util/log.c b/util/log.c index d36c98d..6219819 100644 --- a/util/log.c +++ b/util/log.c @@ -466,6 +466,10 @@ const QEMULogItem qemu_log_items[] = { "show micro ops after optimization" }, { CPU_LOG_TB_OP_IND, "op_ind", "show micro ops before indirect lowering" }, +#ifdef CONFIG_PLUGIN + { LOG_TB_OP_PLUGIN, "op_plugin", + "show micro ops before plugin injection" }, +#endif { CPU_LOG_INT, "int", "show interrupts/exceptions in short format" }, { CPU_LOG_EXEC, "exec", -- cgit v1.1