|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH v3 04/20] plugins: Move function pointer in qemu_plugin_dyn_cb |
| Date: | Mon, 29 Apr 2024 12:58:30 +0200 |
| User-agent: | Mozilla Thunderbird |
On 25/4/24 01:02, Richard Henderson wrote:
The out-of-line function pointer is mutually exclusive with inline expansion, so move it into the union. Wrap the pointer in a structure named 'regular' to match PLUGIN_CB_REGULAR. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- include/qemu/plugin.h | 4 +++- accel/tcg/plugin-gen.c | 4 ++-- plugins/core.c | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
| [Prev in Thread] | Current Thread | [Next in Thread] |