summaryrefslogtreecommitdiffstats
path: root/hw/misc/slavio_misc.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé2018-03-08 16:55:24 +0100
committerStefan Hajnoczi2018-03-12 12:10:20 +0100
commit73ff061032efa0b260bcd1a177ac89b57a1642d3 (patch)
treec2fbee3d4ae0cc2215ef90f4f49e1bae0fc58c68 /hw/misc/slavio_misc.c
parenttrace: remove use of QEMU specific types from trace probes (diff)
downloadqemu-73ff061032efa0b260bcd1a177ac89b57a1642d3.tar.gz
qemu-73ff061032efa0b260bcd1a177ac89b57a1642d3.tar.xz
qemu-73ff061032efa0b260bcd1a177ac89b57a1642d3.zip
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 'hw/misc/slavio_misc.c')
0 files changed, 0 insertions, 0 deletions