qemu-e2k/tests
Stefan Hajnoczi 0f08586c71 util/async: add a human-readable name to BHs for debugging
It can be difficult to debug issues with BHs in production environments.
Although BHs can usually be identified by looking up their ->cb()
function pointer, this requires debug information for the program. It is
also not possible to print human-readable diagnostics about BHs because
they have no identifier.

This patch adds a name to each BH. The name is not unique per instance
but differentiates between cb() functions, which is usually enough. It's
done by changing aio_bh_new() and friends to macros that stringify cb.

The next patch will use the name field when reporting leaked BHs.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210414200247.917496-2-stefanha@redhat.com>
2021-07-05 11:40:32 +01:00
..
acceptance MIPS patches queue 2021-07-04 14:04:12 +01:00
bench
data
decode decodetree: Extend argument set syntax to allow types 2021-05-01 11:45:35 -07:00
docker tcg: Build ffi data structures for helpers 2021-06-19 08:51:11 -07:00
fp tests/fp: Enable more tests 2021-06-03 14:09:03 -07:00
guest-debug
image-fuzzer
include
keys
migration tests/migration: introduce multifd into guestperf 2021-05-13 18:21:14 +01:00
multiboot
perf/block/qcow2
plugin plugins/syscall: Added a table-like summary output 2021-05-25 16:52:50 +01:00
qapi-schema docs: fix references to docs/devel/build-system.rst 2021-06-02 06:51:09 +02:00
qemu-iotests block/ssh: add support for sha256 host key fingerprints 2021-06-30 12:45:32 +02:00
qtest audio: bugfixes 2021-06-25 18:55:58 +01:00
rocker
tcg Hexagon (target/hexagon) fix l2fetch instructions 2021-06-29 11:32:50 -05:00
tsan
uefi-test-tools
unit util/async: add a human-readable name to BHs for debugging 2021-07-05 11:40:32 +01:00
vm tests/vm: expose --source-path to scripts to find extra files 2021-06-07 14:42:47 +01:00
vmstate-static-checker-data
check-block.sh
dbus-vmstate-daemon.sh
Makefile.include
meson.build
requirements.txt acceptance tests: bump Avocado version to 88.1 2021-06-01 16:21:21 -04:00
test-qht-par.c
vhost-user-bridge.c