Peter Maydell
d4aceb2eb7
hw/display/qxl.c: Use trace_event_get_state_backends()
...
The preferred way to test whether a trace event is enabled is to
use trace_event_get_state_backends(), because this will give the
correct answer (allowing expensive computations to be skipped)
whether the trace event is compile-time or run-time disabled.
Convert the old-style direct use of TRACE_FOO_ENABLED.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200120151142.18954-4-peter.maydell@linaro.org
Message-Id: <20200120151142.18954-4-peter.maydell@linaro.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-01-30 21:33:50 +00:00
..
2020-01-20 09:10:23 +01:00
2020-01-27 10:49:51 -08:00
2019-07-05 09:50:33 +02:00
2019-08-22 10:04:20 +02:00
2019-08-22 10:04:20 +02:00
2019-08-22 10:04:20 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-06-12 13:20:20 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2018-10-15 09:57:33 +02:00
2020-01-24 20:59:15 +01:00
2017-03-27 12:14:45 +02:00
2017-03-17 10:23:44 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:20:20 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2015-07-24 13:57:45 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-12-16 13:04:46 +01:00
2020-01-27 10:49:51 -08:00
2020-01-24 20:59:15 +01:00
2020-01-27 10:49:51 -08:00
2019-08-16 13:31:52 +02:00
2014-02-04 19:34:30 +01:00
2020-01-24 20:59:15 +01:00
2019-09-07 08:30:34 +02:00
2019-08-16 13:31:52 +02:00
2016-05-12 13:22:24 +01:00
2019-08-16 13:31:52 +02:00
2014-01-31 14:47:33 +00:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2014-01-31 14:47:33 +00:00
2016-01-29 15:07:24 +00:00
2020-01-02 13:54:57 +04:00
2020-01-30 21:33:50 +00:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2017-04-24 12:32:12 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2014-01-31 14:47:33 +00:00
2019-08-16 13:31:52 +02:00
2020-01-24 20:59:15 +01:00
2020-01-27 10:49:51 -08:00
2019-12-18 02:34:13 +01:00
2019-05-13 08:58:55 +02:00
2019-09-19 10:37:46 +02:00
2019-09-19 10:37:46 +02:00
2019-12-18 02:34:13 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-12-18 02:34:13 +01:00
2019-05-29 06:30:45 +02:00
2020-01-24 20:59:15 +01:00
2019-05-29 06:30:45 +02:00
2019-06-12 13:20:20 +02:00
2019-05-29 06:30:45 +02:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2020-01-24 20:59:15 +01:00
2019-06-12 13:20:21 +02:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00
2019-11-21 07:12:28 +01:00