Skip to contentSkip to conversation

trace: Generic event state description

PATCH Stefan Hajnoczi 1 participant 1 message Mar 1, 2013 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 26 lines · Lluís Vilanova
Quoted 17 lines · Stefan Hajnoczi
Quoted 9 lines · Lluís Vilanova

Provides a generic event state description structure (TraceEvent) and a more detailed event control and query interface.

This is achieved by creating a new "non-public" tracing backend (i.e., not selectable by the user at configure time) that will generate the appropriate event description information.

---

Hi Lluís,
I hit an issue testing the different backends with this series applied.

The simple trace writeout thread hangs when the 'quit' monitor command is issued. Do you see the same issue?

Quoted 6 lines
$ ./configure --target-list=x86_64-softmmu --enable-trace-backend=simple
$ make -j4
$ cat my-events 
bdrv_open_common
$ x86_64-softmmu/qemu-system-x86_64 -trace events=my-events
(qemu) quit
Quoted 4 lines

I've rebased the series in master (which forced me to fix a tiny line in a makefile, due recent changes), and everything's working fine.

I can resend the rebased series, if you want.

Okay, sounds good. I'll retest your rebased series.

Stefan