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 /scripts/tracetool/format/tcg_helper_wrapper_h.py | |
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 'scripts/tracetool/format/tcg_helper_wrapper_h.py')
-rw-r--r-- | scripts/tracetool/format/tcg_helper_wrapper_h.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/tracetool/format/tcg_helper_wrapper_h.py b/scripts/tracetool/format/tcg_helper_wrapper_h.py index cac5a878f9..020f4422a9 100644 --- a/scripts/tracetool/format/tcg_helper_wrapper_h.py +++ b/scripts/tracetool/format/tcg_helper_wrapper_h.py @@ -6,7 +6,7 @@ Generate trace/generated-helpers-wrappers.h. """ __author__ = "Lluís Vilanova <vilanova@ac.upc.edu>" -__copyright__ = "Copyright 2012-2014, Lluís Vilanova <vilanova@ac.upc.edu>" +__copyright__ = "Copyright 2012-2016, Lluís Vilanova <vilanova@ac.upc.edu>" __license__ = "GPL version 2 or (at your option) any later version" __maintainer__ = "Stefan Hajnoczi" @@ -15,6 +15,7 @@ __email__ = "stefanha@linux.vnet.ibm.com" from tracetool import out from tracetool.transform import * +import tracetool.vcpu def generate(events, backend): @@ -33,7 +34,7 @@ def generate(events, backend): continue # tracetool.generate always transforms types to host - e_args = e.original.args + e_args = tracetool.vcpu.transform_args("tcg_helper_c", e.original, "wrapper") # mixed-type to TCG helper bridge args_tcg_compat = e_args.transform(HOST_2_TCG_COMPAT) |