4ade0541 | 25-Feb-2016 |
Lluís Vilanova <vilanova@ac.upc.edu> |
trace: Add a proper API to manage auto-generated events from the 'tcg' property
Formalizes the existence of the 'event_trans' and 'event_exec' event attributes, which until now were monkey-patched o
trace: Add a proper API to manage auto-generated events from the 'tcg' property
Formalizes the existence of the 'event_trans' and 'event_exec' event attributes, which until now were monkey-patched only when necessary.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Message-id: 145640558759.20978.6374959404425591089.stgit@localhost Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
show more ...
|
3d211d9f | 25-Feb-2016 |
Lluís Vilanova <vilanova@ac.upc.edu> |
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 th
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>
show more ...
|
56797b1f | 25-Feb-2016 |
Lluís Vilanova <vilanova@ac.upc.edu> |
trace: Remove unnecessary intermediate event copies
The current code forces the use of a chain of ".original" dereferences, which looks odd.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Mess
trace: Remove unnecessary intermediate event copies
The current code forces the use of a chain of ".original" dereferences, which looks odd.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Message-id: 145641858988.30295.7223459456488075843.stgit@localhost Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
show more ...
|
f9bbba95 | 23-Sep-2014 |
Stefan Hajnoczi <stefanha@redhat.com> |
trace: tighten up trace-events regex to fix bad parse
Use \w for properties and trace event names since they are both drawn from [a-zA-Z0-9_] character sets.
The .* for matching properties was too
trace: tighten up trace-events regex to fix bad parse
Use \w for properties and trace event names since they are both drawn from [a-zA-Z0-9_] character sets.
The .* for matching properties was too aggressive and caused the following failure with foo(int rc) "(this is a test)":
Traceback (most recent call last): File "scripts/tracetool.py", line 139, in <module> main(sys.argv) File "scripts/tracetool.py", line 134, in main binary=binary, probe_prefix=probe_prefix) File "scripts/tracetool/__init__.py", line 334, in generate events = _read_events(fevents) File "scripts/tracetool/__init__.py", line 262, in _read_events res.append(Event.build(line)) File "scripts/tracetool/__init__.py", line 225, in build return Event(name, props, fmt, args, arg_fmts) File "scripts/tracetool/__init__.py", line 185, in __init__ % ", ".join(unknown_props)) ValueError: Unknown properties: foo(int, rc)
Cc: Lluís Vilanova <vilanova@ac.upc.edu> Reported-by: Eric Auger <eric.auger@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1411468626-20450-1-git-send-email-stefanha@redhat.com
show more ...
|
f4654226 | 30-May-2014 |
Lluís Vilanova <vilanova@ac.upc.edu> |
trace: [tcg] Define TCG tracing helper routine wrappers
Generates header "trace/generated-helpers-wrappers.h" with definitions for TCG helper wrappers.
These wrappers ('gen_helper_trace_${event}_ex
trace: [tcg] Define TCG tracing helper routine wrappers
Generates header "trace/generated-helpers-wrappers.h" with definitions for TCG helper wrappers.
These wrappers ('gen_helper_trace_${event}_exec_wrapper') transform mixed native and TCG argument types to TCG types and call the actual TCG helpers ('gen_helper_trace_${event}_exec_proxy').
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
show more ...
|
b2b36c22 | 30-May-2014 |
Lluís Vilanova <vilanova@ac.upc.edu> |
trace: [tcg] Add 'tcg' event property
Transforms event:
tcg name(...) "...", "..."
into two internal events:
tcg-trans name_trans(...) "..." tcg-exec name_exec(...) "..."
Signed-off-by: Ll
trace: [tcg] Add 'tcg' event property
Transforms event:
tcg name(...) "...", "..."
into two internal events:
tcg-trans name_trans(...) "..." tcg-exec name_exec(...) "..."
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
show more ...
|