You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/contrib/plugins
Alex Bennée 14fd492b89 contrib/plugins: protect execlog's last_exec expansion
We originally naively treated expansion as safe because we expected
each new CPU/thread to appear in order. However the -M raspi2 model
triggered a case where a new high cpu_index thread started executing
just before a smaller one.

Clean this up by converting the GArray into the simpler GPtrArray and
then holding a lock for the expansion.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Alexandre Iooss <erdnaxe@crans.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221027183637.2772968-29-alex.bennee@linaro.org>
2 years ago
..
Makefile contrib/plugins: enable debug on CONFIG_DEBUG_TCG 2 years ago
cache.c misc: fix commonly doubled up words 2 years ago
drcov.c contrib/plugins: add a drcov plugin 3 years ago
execlog.c contrib/plugins: protect execlog's last_exec expansion 2 years ago
hotblocks.c plugins/hotblocks: Added correct boolean argument parsing 3 years ago
hotpages.c plugins/hotpages: introduce sortby arg and parsed bool args correctly 3 years ago
howvec.c plugins/howvec: adapting to the new argument passing scheme 3 years ago
hwprofile.c plugins/hwprofile: adapt to the new plugin arguments scheme 3 years ago
lockstep.c plugins/lockstep: make socket path not positional & parse bool arg 3 years ago