diff options
author | Peter Maydell | 2016-03-01 16:54:03 +0100 |
---|---|---|
committer | Peter Maydell | 2016-03-01 16:54:03 +0100 |
commit | ed6128ebbdd7cd885d39980659dad4b5c8ae8158 (patch) | |
tree | 0b88379328f6fdfd98db9936d8ca63f8d0f26831 /vl.c | |
parent | Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20160301' into staging (diff) | |
parent | trace: Add a proper API to manage auto-generated events from the 'tcg' property (diff) | |
download | qemu-ed6128ebbdd7cd885d39980659dad4b5c8ae8158.tar.gz qemu-ed6128ebbdd7cd885d39980659dad4b5c8ae8158.tar.xz qemu-ed6128ebbdd7cd885d39980659dad4b5c8ae8158.zip |
Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging
# gpg: Signature made Tue 01 Mar 2016 15:48:04 GMT using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"
* remotes/stefanha/tags/tracing-pull-request:
trace: Add a proper API to manage auto-generated events from the 'tcg' property
trace: Add 'vcpu' event property to trace guest vCPU
typedefs: Add CPUState
trace: Add helper function to cast event arguments
tcg: Move definition of type TCGv
tcg: Add type for vCPU pointers
trace: Remove unnecessary intermediate event copies
trace: Extend API to manage event arguments
vl: fix tracing initialization
trace: use addresses instead of offsets in memory tracepoints
trace: split subpage MMIOs into their own trace events.
trace: docs: "simple" backend does support strings
trace: drop trailing empty strings
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -4081,6 +4081,9 @@ int main(int argc, char **argv, char **envp) exit(0); } + if (!trace_init_backends()) { + exit(1); + } trace_init_file(trace_file); /* Open the logfile at this point and set the log mask if necessary. @@ -4101,10 +4104,6 @@ int main(int argc, char **argv, char **envp) qemu_set_log(0); } - if (!trace_init_backends()) { - exit(1); - } - /* If no data_dir is specified then try to find it relative to the executable path. */ if (data_dir_idx < ARRAY_SIZE(data_dir)) { |