All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] plugins: add tb convenience functions
@ 2025-01-27 20:17 Luke Craig
  2025-01-27 20:17 ` [PATCH 1/2] plugin: extend API with qemu_plugin_tb_get_insn_by_vaddr Luke Craig
  2025-01-27 20:17 ` [PATCH 2/2] plugin: extend API with qemu_plugin_tb_size Luke Craig
  0 siblings, 2 replies; 6+ messages in thread
From: Luke Craig @ 2025-01-27 20:17 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexandre Iooss, Mahmoud Mandour, Pierrick Bouvier,
	Alex Bennée, Luke Craig

This PR extends the plugin API with two functions which allow convenient access around tbs.

The first, qemu_plugin_tb_size, provides a mechanism for determining the total size of a translation block.

The second, qemu_plugin_tb_get_insn_by_vaddr, allows users to get a reference to an instruction by its virtual address rather than just its index.

Luke Craig (2):
  plugin: extend API with qemu_plugin_tb_get_insn_by_vaddr
  plugin: extend API with qemu_plugin_tb_size

 include/qemu/qemu-plugin.h | 21 +++++++++++++++++++++
 plugins/api.c              | 18 ++++++++++++++++++
 2 files changed, 39 insertions(+)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-01-28 18:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-27 20:17 [PATCH 0/2] plugins: add tb convenience functions Luke Craig
2025-01-27 20:17 ` [PATCH 1/2] plugin: extend API with qemu_plugin_tb_get_insn_by_vaddr Luke Craig
2025-01-28  9:07   ` Alex Bennée
2025-01-27 20:17 ` [PATCH 2/2] plugin: extend API with qemu_plugin_tb_size Luke Craig
2025-01-28  9:17   ` Alex Bennée
2025-01-28 18:32   ` Pierrick Bouvier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.