> > ldebug() should probably trace points. > > I need help with this. I tried replacing ldebug() with > "qemu_log_mask(LOG_TRACE,", but that caused a lot of messages to be > printed to the terminal. It is odd because I thought I had to use "-d > trace" to make it print. Do you have another suggestion on what to > replace ldebug() with?
See docs/devel/tracing.txt You might also have a look at commit 6aa22a29187e1908f5db738d27c64a9efc8d0bfa as example (adds some trace points to vnc code). HTH, Gerd