trace: Add 'vcpu' event property to trace guest vCPU
authorLluís Vilanova <vilanova@ac.upc.edu>
Thu, 25 Feb 2016 16:43:38 +0000 (17:43 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Mar 2016 13:27:10 +0000 (13:27 +0000)
commit3d211d9f4dbee7483f092c287ef20d8336100445
tree5e547d1b9a2383adb71e275b13f287b4639bf01b
parentb23197f9cf2f221a6cc6272d36852f4f70cf9c1b
trace: Add 'vcpu' event property to trace guest vCPU

This property identifies events that trace vCPU-specific information.

It adds a "CPUState*" argument to events with the property, identifying
the vCPU raising the event. TCG translation events also have a
"TCGv_env" implicit argument that is later used as the "CPUState*"
argument at execution time.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Message-id: 145641861797.30295.6991314023181842105.stgit@localhost
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
docs/tracing.txt
scripts/tracetool/__init__.py
scripts/tracetool/format/h.py
scripts/tracetool/format/tcg_h.py
scripts/tracetool/format/tcg_helper_c.py
scripts/tracetool/format/tcg_helper_h.py
scripts/tracetool/format/tcg_helper_wrapper_h.py
scripts/tracetool/format/ust_events_c.py
scripts/tracetool/transform.py
scripts/tracetool/vcpu.py [new file with mode: 0644]
trace/control.h