trace: Identify events with the 'vcpu' property
authorLluís Vilanova <vilanova@ac.upc.edu>
Mon, 11 Jul 2016 10:53:24 +0000 (12:53 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 18 Jul 2016 17:13:54 +0000 (18:13 +0100)
commit17f7ac75df3909c384c18274b41a2a91192599e3
treeb5000f5a073806b11d4a5e4f73336df85f82d348
parent6913e79c3677a4282203fdd79af7927a94d0427e
trace: Identify events with the 'vcpu' property

A new event attribute 'cpu_id' is added to have a separate ID
space ('TRACE_VCPU_*') for all events with the 'vcpu' property.

These are later used to identify which events are enabled on each vCPU.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/format/events_c.py
scripts/tracetool/format/events_h.py
trace/control-internal.h
trace/control.h
trace/event-internal.h