qemu/scripts/tracetool/format
Lluís Vilanova 864a2178d4 trace: [tcg] Do not generate TCG code to trace dynamically-disabled events
If an event is dynamically disabled, the TCG code that calls the
execution-time tracer is not generated.

Removes the overheads of execution-time tracers for dynamically disabled
events. As a bonus, also avoids checking the event state when the
execution-time tracer is called from TCG-generated code (since otherwise
TCG would simply not call it).

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-id: 149915799921.6295.13067154430923434035.stgit@frigg.lan
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-07-17 13:11:12 +01:00
..
__init__.py trace: introduce a formal group name for trace events 2016-10-12 09:54:53 +02:00
c.py trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00
d.py trace: introduce a formal group name for trace events 2016-10-12 09:54:53 +02:00
h.py trace: [tcg] Do not generate TCG code to trace dynamically-disabled events 2017-07-17 13:11:12 +01:00
simpletrace_stap.py trace: introduce a formal group name for trace events 2016-10-12 09:54:53 +02:00
stap.py trace: introduce a formal group name for trace events 2016-10-12 09:54:53 +02:00
tcg_h.py trace: [tcg] Do not generate TCG code to trace dynamically-disabled events 2017-07-17 13:11:12 +01:00
tcg_helper_c.py trace: [tcg] Do not generate TCG code to trace dynamically-disabled events 2017-07-17 13:11:12 +01:00
tcg_helper_h.py trace: introduce a formal group name for trace events 2016-10-12 09:54:53 +02:00
tcg_helper_wrapper_h.py trace: introduce a formal group name for trace events 2016-10-12 09:54:53 +02:00
ust_events_c.py trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00
ust_events_h.py trace: switch to modular code generation for sub-directories 2017-01-31 17:11:18 +00:00