]> git.proxmox.com Git - mirror_qemu.git/blobdiff - scripts/tracetool/format/c.py
trace: remove vcpu_id from the TraceEvent structure
[mirror_qemu.git] / scripts / tracetool / format / c.py
index c390c1844af6d717d7c718bd8aaf268f7c4f9f74..69edf0d588ee84672e552ecfbf0e3db064d15e4e 100644 (file)
@@ -32,19 +32,13 @@ def generate(events, backend, group):
         out('uint16_t %s;' % e.api(e.QEMU_DSTATE))
 
     for e in events:
-        if "vcpu" in e.properties:
-            vcpu_id = 0
-        else:
-            vcpu_id = "TRACE_VCPU_EVENT_NONE"
         out('TraceEvent %(event)s = {',
             '    .id = 0,',
-            '    .vcpu_id = %(vcpu_id)s,',
             '    .name = \"%(name)s\",',
             '    .sstate = %(sstate)s,',
             '    .dstate = &%(dstate)s ',
             '};',
             event = e.api(e.QEMU_EVENT),
-            vcpu_id = vcpu_id,
             name = e.name,
             sstate = "TRACE_%s_ENABLED" % e.name.upper(),
             dstate = e.api(e.QEMU_DSTATE))