Files
qemu/scripts/tracetool
Daniel P. Berrangé baa5aa00e3 trace: include qemu_loglevel_mask(LOG_TRACE) in guard
If emitting a trace event requires computation for the parameters
passed to the probe, the callers should guard that computation
with trace_event_by_state_backends(), which is a macro expanding
to a check of the "TRACE_...._DSTATE()" expression. For the
log backend this should include a check for LOG_TRACE being
present in the configured log level.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2026-11-04 13:19:03 -05:00
..