[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Why "trace event does not exist"?

From: Sam
Subject: [Qemu-discuss] Why "trace event does not exist"?
Date: Thu, 20 Jul 2017 10:38:07 +0800

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


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

[Prev in Thread] Current Thread [Next in Thread]