Xu, Anthony writes: > Put all trace.o into libqemuutil.a > Currently all trace.o are linked into qemu-system, qemu-img, > qemu-nbd, qemu-io etc., even the corresponding components > are not included. > Put all trace.o into libqemuutil.a that the linker would only pull in .o > files containing symbols that are actually referenced by the > program.
I think this change conflicts with some of the guest code tracing patches I have in the queue (I won't be able to send the new series until the end of the month, sorry). AFAIR, some of my patches need to link different code for utils and qemu's main binaries. Although there might be a better way of doing it that I missed. Cheers, Lluis