diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2018-03-08 15:55:24 +0000 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-03-12 11:10:20 +0000 |
commit | 73ff061032efa0b260bcd1a177ac89b57a1642d3 (patch) | |
tree | c2fbee3d4ae0cc2215ef90f4f49e1bae0fc58c68 /scripts/qapi | |
parent | 88584448502b1b1504676566b0d36991583c9ed2 (diff) |
trace: only permit standard C types and fixed size integer types
Some trace backends will compile code based on the declared trace
events. It should not be assumed that the backends can resolve any QEMU
specific typedefs. So trace events should restrict their argument
types to the standard C types and fixed size integer types. Any complex
pointer types can be declared as "void *" for purposes of trace events,
since nothing will be dereferencing these pointer arguments.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20180308155524.5082-3-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions