diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2024-05-14 18:42:45 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-05-16 08:47:01 +0100 |
commit | 21032784e56e9687f8c9d4abb75db4b15629c9b1 (patch) | |
tree | 04e1cabb5e71e018169f8dd4eb70c88556d8c49c /accel | |
parent | b51ddd937f11f76614d4b36d14d8778df242661c (diff) | |
download | qemu-21032784e56e9687f8c9d4abb75db4b15629c9b1.zip qemu-21032784e56e9687f8c9d4abb75db4b15629c9b1.tar.gz qemu-21032784e56e9687f8c9d4abb75db4b15629c9b1.tar.bz2 |
plugins: prepare introduction of new inline ops
Until now, only add_u64 was available, and all functions assumed this or
were named uniquely.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240514174253.694591-4-alex.bennee@linaro.org>
Diffstat (limited to 'accel')
-rw-r--r-- | accel/tcg/plugin-gen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c index 54b08ff..f1becf1 100644 --- a/accel/tcg/plugin-gen.c +++ b/accel/tcg/plugin-gen.c @@ -113,7 +113,7 @@ static void gen_udata_cb(struct qemu_plugin_dyn_cb *cb) tcg_temp_free_i32(cpu_index); } -static void gen_inline_cb(struct qemu_plugin_dyn_cb *cb) +static void gen_inline_add_u64_cb(struct qemu_plugin_dyn_cb *cb) { GArray *arr = cb->inline_insn.entry.score->data; size_t offset = cb->inline_insn.entry.offset; @@ -158,8 +158,8 @@ static void inject_cb(struct qemu_plugin_dyn_cb *cb) case PLUGIN_CB_REGULAR: gen_udata_cb(cb); break; - case PLUGIN_CB_INLINE: - gen_inline_cb(cb); + case PLUGIN_CB_INLINE_ADD_U64: + gen_inline_add_u64_cb(cb); break; default: g_assert_not_reached(); |