qemu-e2k/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>
2022-10-31 20:37:59 +00:00
..
cache.c misc: fix commonly doubled up words 2022-08-01 11:58:02 +02:00
drcov.c contrib/plugins: add a drcov plugin 2022-02-09 12:08:42 +00:00
execlog.c contrib/plugins: protect execlog's last_exec expansion 2022-10-31 20:37:59 +00:00
hotblocks.c plugins/hotblocks: Added correct boolean argument parsing 2021-09-02 11:29:34 +01:00
hotpages.c plugins/hotpages: introduce sortby arg and parsed bool args correctly 2021-09-02 11:29:34 +01:00
howvec.c plugins/howvec: adapting to the new argument passing scheme 2021-09-02 11:29:34 +01:00
hwprofile.c plugins/hwprofile: adapt to the new plugin arguments scheme 2021-09-02 11:29:34 +01:00
lockstep.c plugins/lockstep: make socket path not positional & parse bool arg 2021-09-02 11:29:34 +01:00
Makefile contrib/plugins: enable debug on CONFIG_DEBUG_TCG 2022-10-31 20:37:59 +00:00