block/trace.h: In function ‘_nocheck__trace_nbd_co_request_fail’:
block/trace.h:3141:73: error: ‘_TRACE_NBD_CO_REQUEST_FAIL_DSTATE’ undeclared (first use in this function); did you mean ‘TRACE_NBD_CO_REQUEST_FAIL_BACKEND_DSTATE’?
if (trace_event_get_state(TRACE_NBD_CO_REQUEST_FAIL) && qemu_loglevel_mask(LOG_TRACE)) { ^~~~~~~~~~~~~~~~~~~~ TRACE_NBD_CO_REQUEST_FAIL_BACKEND_DSTATE
which implies something getting in the way of making the trace files.
It seems the --save-temps is what breaks things for me, the following works:
../qemu. git/configure --target- list=riscv64- softmmu --enable-debug --extra-cflags="-O0 -g3" && make -j9
rm -rf and start again with:
../qemu. git/configure --target- list=riscv64- softmmu --enable-debug --extra-cflags="-O0 -g3 --save-temps"
falls over with lines like:
block/trace.h: In function ‘_nocheck_ _trace_ nbd_co_ request_ fail’: h:3141: 73: error: ‘_TRACE_ NBD_CO_ REQUEST_ FAIL_DSTATE’ undeclared (first use in this function); did you mean ‘TRACE_ NBD_CO_ REQUEST_ FAIL_BACKEND_ DSTATE’ ? event_get_ state(TRACE_ NBD_CO_ REQUEST_ FAIL) && qemu_loglevel_ mask(LOG_ TRACE)) {
^~~~ ~~~~~~~ ~~~~~~~ ~~
TRACE_ NBD_CO_ REQUEST_ FAIL_BACKEND_ DSTATE
block/trace.
if (trace_
which implies something getting in the way of making the trace files.