]> git.proxmox.com Git - mirror_qemu.git/commit
trace: forbid floating point types
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 21 Jun 2018 15:02:54 +0000 (16:02 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 Jun 2018 10:09:29 +0000 (11:09 +0100)
commitec09f877532210e28e1d4b6b12896d3eb6d8e8d1
treed83fe5920304a572d909653d8533a86dfc3691c8
parentd071f4cd5579fe82ba764e4c29f06664658e3762
trace: forbid floating point types

Only one existing trace event uses a floating point type.  Unfortunately
float and double cannot be supported since SystemTap does not have
floating point types.

Remove float and double from the whitelist and document this limitation.
Update the migrate_transferred trace event to use uint64_t instead of
double.

Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Daniel P. Berrangé <berrange@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-id: 20180621150254.4922-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
docs/devel/tracing.txt
migration/trace-events
qapi/trace-events
scripts/tracetool/__init__.py