Peter Maydell 1aa6430dbe docs/devel/tracing.txt: Recommend only trace_event_get_state_backends()
Instead of recommending checking the TRACE_FOO_ENABLED macro to
skip expensive computations needed only for tracing, recommend
only using trace_event_get_state_backends(). This works for both
compile-time and run-time disabling of events, and has no extra
performance impact if the event is compile-time disabled.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200120151142.18954-2-peter.maydell@linaro.org
Message-Id: <20200120151142.18954-2-peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-01-30 21:33:50 +00:00
..
2018-07-13 10:16:04 +01:00
2020-01-24 09:59:11 +00:00
2020-01-23 15:34:04 +00:00
2019-09-17 13:43:22 +02:00
2019-03-06 10:40:21 +01:00
2020-01-23 15:22:40 +00:00
2020-01-23 15:22:40 +00:00
2019-03-06 10:40:21 +01:00
2018-08-21 10:22:03 +02:00