scripts/tracetool: silence SystemTap dtrace(1) long long warnings
commit35e28cb0f210cae3d9c98113d519fe5a4bef5866
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 20 Oct 2020 09:40:43 +0000 (20 10:40 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 11 Nov 2020 13:10:38 +0000 (11 13:10 +0000)
tree5f4810550e9c7d9df6db8180b01f573918631e90
parent92eecfff32763ee138f4cebc1a12c5b051ad5bb5
scripts/tracetool: silence SystemTap dtrace(1) long long warnings

SystemTap's dtrace(1) prints the following warning when it encounters
long long arguments:

  Warning: /usr/bin/dtrace:trace/trace-dtrace-hw_virtio.dtrace:76: syntax error near:
  probe vhost_vdpa_dev_start

  Warning: Proceeding as if --no-pyparsing was given.

Use the uint64_t and int64_t types, respectively. This works with all
host CPU 32- and 64-bit data models (ILP32, LP64, and LLP64) that QEMU
supports.

Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201020094043.159935-1-stefanha@redhat.com
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/format/d.py