]> git.proxmox.com Git - mirror_qemu.git/commit
tracetool: add output filename command-line argument
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 27 Aug 2020 14:29:12 +0000 (15:29 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 4 Jan 2021 14:24:58 +0000 (14:24 +0000)
commitc05012a365c2d7d42d205b1efa895bf2144bab88
treeb7a25025de22f351f41d84dfdf621d16dc87fa3b
parent6745c8a01f759b64d3c4cd1e0a69bb793cead268
tracetool: add output filename command-line argument

The tracetool.py script writes to stdout. This means the output filename
is not available to the script. Add the output filename to the
command-line so that the script has access to the filename.

This also simplifies the tracetool.py invocation. It's no longer
necessary to use meson's custom_build(capture : true) to save output.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20200827142915.108730-2-stefanha@redhat.com>
docs/devel/tracing.txt
meson.build
scripts/tracetool.py
scripts/tracetool/__init__.py
trace/meson.build