[PATCH] plugin: add qemu_plugin_insn_symbol to qemu-plugins.symbols

Philipp Tomsich posted 1 patch 4 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210929133535.2950068-1-philipp.tomsich@vrull.eu
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, Alexandre Iooss <erdnaxe@crans.org>
plugins/qemu-plugins.symbols | 1 +
1 file changed, 1 insertion(+)
[PATCH] plugin: add qemu_plugin_insn_symbol to qemu-plugins.symbols
Posted by Philipp Tomsich 4 years, 4 months ago
Give the plugins access to the qemu_plugin_insn_symbol helper.
Note that this symbols is today already used by cache.c, which can not
be loaded without it.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>

---

 plugins/qemu-plugins.symbols | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.symbols
index 67b309ea2a..6a0261f061 100644
--- a/plugins/qemu-plugins.symbols
+++ b/plugins/qemu-plugins.symbols
@@ -6,6 +6,7 @@
   qemu_plugin_insn_disas;
   qemu_plugin_insn_haddr;
   qemu_plugin_insn_size;
+  qemu_plugin_insn_symbol;
   qemu_plugin_insn_vaddr;
   qemu_plugin_mem_is_big_endian;
   qemu_plugin_mem_is_sign_extended;
-- 
2.25.1


Re: [PATCH] plugin: add qemu_plugin_insn_symbol to qemu-plugins.symbols
Posted by Philippe Mathieu-Daudé 4 years, 4 months ago
On 9/29/21 15:35, Philipp Tomsich wrote:
> Give the plugins access to the qemu_plugin_insn_symbol helper.
> Note that this symbols is today already used by cache.c, which can not
> be loaded without it.
> 
> Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
> 
> ---
> 
>  plugins/qemu-plugins.symbols | 1 +
>  1 file changed, 1 insertion(+)

Thanks but there is already a patch for this:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg834521.html