]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: fix race against dtrace probe generator
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 2 Oct 2025 13:16:12 +0000 (14:16 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 3 Oct 2025 11:10:02 +0000 (12:10 +0100)
commitf101e3432d0f8b77bda983043423e20796b41628
tree7c5afe9f6ec1d7f2a0c8eba1798e12f8343b9d1b
parenteb99bbaf2e5b1e91f4999c7a1ccc90d67dfbe471
rpc: fix race against dtrace probe generator

The virt_socket_lib library has a dep on dtrace_gen_headers, but
the virprobe.h file (which includes the libvirt_probes.h) is also
used from virnetserverclient.c and virkeepalive.c files which do
not directly depend on virt_socket_lib. Thus it is possible for
the latter files to be built before the libvirt_probes.h file
has had its content written.

Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/rpc/meson.build