diff options
author | Stefan Hajnoczi | 2018-06-21 17:02:54 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2018-06-27 12:09:29 +0200 |
commit | ec09f877532210e28e1d4b6b12896d3eb6d8e8d1 (patch) | |
tree | d83fe5920304a572d909653d8533a86dfc3691c8 /scripts/tracetool | |
parent | trace: enable tracing of TCG atomics (diff) | |
download | qemu-ec09f877532210e28e1d4b6b12896d3eb6d8e8d1.tar.gz qemu-ec09f877532210e28e1d4b6b12896d3eb6d8e8d1.tar.xz qemu-ec09f877532210e28e1d4b6b12896d3eb6d8e8d1.zip |
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>
Diffstat (limited to 'scripts/tracetool')
-rw-r--r-- | scripts/tracetool/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/tracetool/__init__.py b/scripts/tracetool/__init__.py index b20fac34a3..0e3c9e146c 100644 --- a/scripts/tracetool/__init__.py +++ b/scripts/tracetool/__init__.py @@ -53,8 +53,6 @@ ALLOWED_TYPES = [ "bool", "unsigned", "signed", - "float", - "double", "int8_t", "uint8_t", "int16_t", |