qemu/scripts/tracetool
Roman Bolshakov 5e7477bc82 scripts/tracetool: Use void pointer for vcpu
dtrace on macOS complains that CPUState * is used for a few probes:

  dtrace: failed to compile script trace-dtrace-root.dtrace: line 130: syntax error near "CPUState"

A comment in scripts/tracetool/__init__.py mentions that:

  We only want to allow standard C types or fixed sized
  integer types. We don't want QEMU specific types
  as we can't assume trace backends can resolve all the
  typedefs

Fixes: 3d211d9f4d ("trace: Add 'vcpu' event property to trace guest vCPU")
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-id: 20200717093517.73397-3-r.bolshakov@yadro.com
Cc: Cameron Esfahani <dirty@apple.com>
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-09-09 17:16:15 +01:00
..
backend libqemuutil, qapi, trace: convert to meson 2020-08-21 06:30:08 -04:00
format scripts/tracetool: Fix dtrace generation for macOS 2020-09-09 17:16:12 +01:00
__init__.py scripts/tracetool: Update maintainer email address 2020-06-24 11:21:00 +01:00
transform.py scripts/tracetool: Update maintainer email address 2020-06-24 11:21:00 +01:00
vcpu.py scripts/tracetool: Use void pointer for vcpu 2020-09-09 17:16:15 +01:00