qemu/include
Pierrick Bouvier 8042e2eadf plugins: define qemu_plugin_u64
Additionally to the scoreboard, we define a qemu_plugin_u64, which is a
simple struct holding a pointer to a scoreboard, and a given offset.
This allows to have a scoreboard containing structs, without having to
bring offset to operate on a specific field.

Since most of the plugins are simply collecting a sum of per-cpu values,
qemu_plugin_u64 directly support this operation as well.

All inline operations defined later will use a qemu_plugin_u64 as input.

New functions:
- qemu_plugin_u64_add
- qemu_plugin_u64_get
- qemu_plugin_u64_set
- qemu_plugin_u64_sum
New macros:
- qemu_plugin_scoreboard_u64
- qemu_plugin_scoreboard_u64_in_struct

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240304130036.124418-3-pierrick.bouvier@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240305121005.3528075-16-alex.bennee@linaro.org>
2024-03-06 12:35:23 +00:00
..
authz
block virtio: Re-enable notifications after drain 2024-02-07 21:51:03 +01:00
chardev
crypto crypto: Modify the qcrypto_block_create to support creation flags 2024-02-09 12:50:37 +00:00
disas
exec target-arm queue: 2024-03-05 13:54:54 +00:00
fpu
gdbstub gdbstub: Call gdbserver_fork() both in parent and in child 2024-03-06 12:35:19 +00:00
hw accel/tcg: Add tlb_fill_flags to CPUTLBEntryFull 2024-03-05 13:22:56 +00:00
io io: Add generic pwritev/preadv interface 2024-03-01 15:42:04 +08:00
libdecnumber
migration migration/qemu-file: add utility methods for working with seekable channels 2024-03-01 15:42:04 +08:00
monitor
net qapi: Move @String out of common.json to discourage reuse 2024-02-12 10:04:32 +01:00
qapi qapi: New strv_from_str_list() 2024-03-04 07:12:40 +01:00
qemu plugins: define qemu_plugin_u64 2024-03-06 12:35:23 +00:00
qom include/qom/object.h: New OBJECT_DEFINE_SIMPLE_TYPE{, _WITH_INTERFACES} macros 2024-02-27 13:01:42 +00:00
scsi
semihosting
standard-headers
sysemu ide, vl: turn -win2k-hack into a property on IDE devices 2024-02-28 00:23:39 +01:00
tcg tcg: Increase width of temp_subindex 2024-02-13 07:42:45 -10:00
ui
user {linux,bsd}-user: Introduce get_task_state() 2024-03-06 12:35:19 +00:00
elf.h
glib-compat.h
qemu-io.h
qemu-main.h