summary refs log tree commit diff stats
path: root/util/log.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-03-15 10:33:49 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-04-30 16:12:05 -0700
commitb384c734ecb6d6a4f121d5716f7275e8e350a6fa (patch)
treeab9a7c30e9929c372103ee57894c4ef7ec42d645 /util/log.c
parentccd8f17e02d70c4e9e1d7f3b8ee0f80dd58dc979 (diff)
downloadfocaccia-qemu-b384c734ecb6d6a4f121d5716f7275e8e350a6fa.tar.gz
focaccia-qemu-b384c734ecb6d6a4f121d5716f7275e8e350a6fa.zip
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 <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/log.c')
-rw-r--r--util/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/log.c b/util/log.c
index d36c98da0b..6219819855 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",