diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-20 12:03:50 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-21 10:56:47 +0200 |
| commit | d97df4b84bc42613cf9a03619de453ebd0be30b7 (patch) | |
| tree | c897fd10b22d27621acf3322a37775360197f480 /hw/core/machine.c | |
| parent | 8e67fda2dd6202ccec093fda561107ba14830a17 (diff) | |
| download | focaccia-qemu-d97df4b84bc42613cf9a03619de453ebd0be30b7.tar.gz focaccia-qemu-d97df4b84bc42613cf9a03619de453ebd0be30b7.zip | |
qxl: fix modular builds with dtrace
Checking the enable/disable state of tracepoints via trace_event_get_state_backends() does not work for modules. qxl checks the state for a small optimization (avoid g_strndup call in case log_buf will not be used anyway), so we can just drop that check for modular builds. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20200720100352.2477-2-kraxel@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions