Hi all,

I want to add new trace-event and log it, so I add into $QEMU/trace-event
like this:

io_mem_init(void) ""
>

and after configure, $QEMU/build/trace-events-all also have this.
then I add code like this into $QEMU/exec.c

trace_io_mem_init();
>

then I `make` and `make install`.

But when I run `qemu-system-x86_64 -D /qemu.log -trace events=/qemu-events
...`
it warn me that:

qemu-system-x86_64:/qemu-events:1: WARNING: trace event 'io_mem_init' does
> not exist


and no io_mem_init log output. Why and what should I do to add this log?
Thank you~

Reply via email to