[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 03/20] plugins: Zero new qemu_plugin_dyn_cb entries
|
From: |
Richard Henderson |
|
Subject: |
[PATCH v3 03/20] plugins: Zero new qemu_plugin_dyn_cb entries |
|
Date: |
Wed, 24 Apr 2024 16:02:07 -0700 |
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
plugins/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/core.c b/plugins/core.c
index 11ca20e626..4487cb7c48 100644
--- a/plugins/core.c
+++ b/plugins/core.c
@@ -307,7 +307,7 @@ static struct qemu_plugin_dyn_cb *plugin_get_dyn_cb(GArray
**arr)
GArray *cbs = *arr;
if (!cbs) {
- cbs = g_array_sized_new(false, false,
+ cbs = g_array_sized_new(false, true,
sizeof(struct qemu_plugin_dyn_cb), 1);
*arr = cbs;
}
--
2.34.1
- [PATCH v3 00/20] Rewrite plugin code generation, Richard Henderson, 2024/04/24
- [PATCH v3 01/20] tcg: Make tcg/helper-info.h self-contained, Richard Henderson, 2024/04/24
- [PATCH v3 03/20] plugins: Zero new qemu_plugin_dyn_cb entries,
Richard Henderson <=
- [PATCH v3 02/20] tcg: Pass function pointer to tcg_gen_call*, Richard Henderson, 2024/04/24
- [PATCH v3 04/20] plugins: Move function pointer in qemu_plugin_dyn_cb, Richard Henderson, 2024/04/24
- [PATCH v3 05/20] plugins: Create TCGHelperInfo for all out-of-line callbacks, Richard Henderson, 2024/04/24
- [PATCH v3 06/20] plugins: Use emit_before_op for PLUGIN_GEN_AFTER_INSN, Richard Henderson, 2024/04/24
- [PATCH v3 07/20] plugins: Use emit_before_op for PLUGIN_GEN_FROM_TB, Richard Henderson, 2024/04/24
- [PATCH v3 08/20] plugins: Add PLUGIN_GEN_AFTER_TB, Richard Henderson, 2024/04/24