On Wed, May 27, 2020 at 07:06:51PM +0200, Cornelia Huck wrote: > Personally, I find traces to be quite handy, and it's nice if you can > just enable more of them if they are in your debugging workflow anyway. > Probably boils down to a matter of preference :)
Totally agree. I am actually a heavy user of QEMU tracing system, just like the rest of the tracing tools all over the world... :) IMHO the difference between a tracepoint and a manual printf() is majorly the reusablility part - if a debugging printf() is likely to be reused in the future, then it is a good tracepoint candidate. Thanks, -- Peter Xu