[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 648b48: trace/simple: Enable tracing on start
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 648b48: trace/simple: Enable tracing on startup only if th... |
Date: |
Tue, 27 Oct 2020 07:29:29 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 648b4823d90bd6deae985869855ceff934eee54d
https://github.com/qemu/qemu/commit/648b4823d90bd6deae985869855ceff934eee54d
Author: Josh DuBois <josh@joshdubois.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M trace/control.c
Log Message:
-----------
trace/simple: Enable tracing on startup only if the user specifies a trace
option
Tracing can be enabled at the command line or via the
monitor. Command-line trace options are recorded during
trace_opt_parse(), but tracing is not enabled until the various
front-ends later call trace_init_file(). If the user passes a trace
option on the command-line, remember that and enable tracing during
trace_init_file(). Otherwise, trace_init_file() should record the
trace file specified by the frontend and avoid enabling traces
until the user requests them via the monitor.
This fixes 1b7157be3a8c4300fc8044d40f4b2e64a152a1b4 and also
db25d56c014aa1a96319c663e0a60346a223b31e, by allowing the user
to enable traces on the command line and also avoiding
unwanted trace-<pid> files when the user has not asked for them.
Fixes: 1b7157be3a8c4300fc8044d40f4b2e64a152a1b4
Signed-off-by: Josh DuBois <josh@joshdubois.com>
Message-id: 20200816174610.20253-1-josh@joshdubois.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: ee8041013a574b4f88e05472f321e50e1f4be733
https://github.com/qemu/qemu/commit/ee8041013a574b4f88e05472f321e50e1f4be733
Author: Anthony PERARD <anthony.perard@citrix.com>
Date: 2020-10-26 (Mon, 26 Oct 2020)
Changed paths:
M scripts/tracetool.py
Log Message:
-----------
Add execute bit back to scripts/tracetool.py
Commit a81df1b68b65 ("libqemuutil, qapi, trace: convert to meson")
removed it without explanation and it is useful to be able to run a
script without having to figure out which interpreter to use.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200923103620.1980151-1-anthony.perard@citrix.com>
Commit: 4a74626970ab4ea475263d155b10fb75c9af0b33
https://github.com/qemu/qemu/commit/4a74626970ab4ea475263d155b10fb75c9af0b33
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2020-10-27 (Tue, 27 Oct 2020)
Changed paths:
M scripts/tracetool.py
M trace/control.c
Log Message:
-----------
Merge remote-tracking branch
'remotes/stefanha-gitlab/tags/tracing-pull-request' into staging
Pull request
v2:
* Fix Anthony Perard's email address [Philippe]
# gpg: Signature made Mon 26 Oct 2020 17:04:57 GMT
# gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8
* remotes/stefanha-gitlab/tags/tracing-pull-request:
Add execute bit back to scripts/tracetool.py
trace/simple: Enable tracing on startup only if the user specifies a trace
option
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/d55450df995d...4a74626970ab
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 648b48: trace/simple: Enable tracing on startup only if th...,
Peter Maydell <=