From: Richard Henderson <richard.henderson@linaro.org>
To: Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-devel@nongnu.org
Subject: Re: [PATCH v4 09/18] plugins: add inline operation per vcpu
Date: Tue, 13 Feb 2024 08:42:36 -1000 [thread overview]
Message-ID: <e8f4bca6-d775-43a6-8882-c7dc22a3e79f@linaro.org> (raw)
In-Reply-To: <20240213094009.150349-10-pierrick.bouvier@linaro.org>
On 2/12/24 23:39, Pierrick Bouvier wrote:
> Extends API with three new functions:
> qemu_plugin_register_vcpu_{tb, insn, mem}_exec_inline_per_vcpu().
>
> Those functions takes a qemu_plugin_u64_t as input.
>
> This allows to have a thread-safe and type-safe version of inline
> operations.
>
> Reviewed-by: Alex Bennée<alex.bennee@linaro.org>
> Signed-off-by: Pierrick Bouvier<pierrick.bouvier@linaro.org>
> ---
> include/qemu/plugin.h | 1 +
> include/qemu/qemu-plugin.h | 51 +++++++++++++++++++++++++++++++++++-
> plugins/plugin.h | 6 +++++
> accel/tcg/plugin-gen.c | 7 +++++
> plugins/api.c | 37 +++++++++++++++++++++++++-
> plugins/core.c | 23 ++++++++++++++++
> plugins/qemu-plugins.symbols | 3 +++
> 7 files changed, 126 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2024-02-13 18:43 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 9:39 [PATCH v4 00/18] TCG Plugin inline operation enhancement Pierrick Bouvier
2024-02-13 9:39 ` [PATCH v4 01/18] plugins: remove previous n_vcpus functions from API Pierrick Bouvier
2024-02-13 18:07 ` Richard Henderson
2024-02-13 9:39 ` [PATCH v4 02/18] plugins: add qemu_plugin_num_vcpus function Pierrick Bouvier
2024-02-13 18:10 ` Richard Henderson
2024-02-13 9:39 ` [PATCH v4 03/18] plugins: fix order of init/idle/resume callback Pierrick Bouvier
2024-02-13 9:39 ` [PATCH v4 04/18] cpu: call plugin init hook asynchronously Pierrick Bouvier
2024-02-13 9:39 ` [PATCH v4 05/18] plugins: scoreboard API Pierrick Bouvier
2024-02-13 18:23 ` Richard Henderson
2024-02-13 9:39 ` [PATCH v4 06/18] plugins: define qemu_plugin_u64 Pierrick Bouvier
2024-02-13 18:29 ` Richard Henderson
2024-02-13 9:39 ` [PATCH v4 07/18] docs/devel: plugins can trigger a tb flush Pierrick Bouvier
2024-02-13 18:33 ` Richard Henderson
2024-02-13 9:39 ` [PATCH v4 08/18] plugins: implement inline operation relative to cpu_index Pierrick Bouvier
2024-02-13 9:39 ` [PATCH v4 09/18] plugins: add inline operation per vcpu Pierrick Bouvier
2024-02-13 18:42 ` Richard Henderson [this message]
2024-02-13 9:40 ` [PATCH v4 10/18] tests/plugin: add test plugin for inline operations Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 11/18] tests/plugin/mem: migrate to new per_vcpu API Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 12/18] tests/plugin/insn: " Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 13/18] tests/plugin/bb: " Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 14/18] contrib/plugins/hotblocks: " Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 15/18] contrib/plugins/howvec: " Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 16/18] plugins: remove non per_vcpu inline operation from API Pierrick Bouvier
2024-02-13 18:44 ` Richard Henderson
2024-02-14 9:56 ` Pierrick Bouvier
2024-02-13 9:40 ` [PATCH v4 17/18] plugins: cleanup codepath for previous inline operation Pierrick Bouvier
2024-02-13 18:45 ` Richard Henderson
2024-02-13 9:40 ` [PATCH v4 18/18] MAINTAINERS: Add myself as reviewer for TCG Plugins Pierrick Bouvier
2024-02-13 18:45 ` Richard Henderson
2024-02-16 16:20 ` [PATCH v4 00/18] TCG Plugin inline operation enhancement Alex Bennée
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e8f4bca6-d775-43a6-8882-c7dc22a3e79f@linaro.org \
--to=richard.henderson@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).