summary refs log tree commit diff stats
path: root/chardev/char-socket.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2018-03-08 15:55:24 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2018-03-12 11:10:20 +0000
commit73ff061032efa0b260bcd1a177ac89b57a1642d3 (patch)
treec2fbee3d4ae0cc2215ef90f4f49e1bae0fc58c68 /chardev/char-socket.c
parent88584448502b1b1504676566b0d36991583c9ed2 (diff)
downloadfocaccia-qemu-73ff061032efa0b260bcd1a177ac89b57a1642d3.tar.gz
focaccia-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 'chardev/char-socket.c')
0 files changed, 0 insertions, 0 deletions