aboutsummaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorCarlos Santos <casantos@redhat.com>2023-04-07 22:04:10 -0300
committerStefan Hajnoczi <stefanha@redhat.com>2023-12-27 05:01:55 -0500
commit5db052306e69faf9f875ad6dec7c823c140990e0 (patch)
treecec7e2982658a1577632559442f1c5f26c13b508 /trace
parent455f4440687fcee03e62d9b17b28162b638458af (diff)
downloadqemu-5db052306e69faf9f875ad6dec7c823c140990e0.zip
qemu-5db052306e69faf9f875ad6dec7c823c140990e0.tar.gz
qemu-5db052306e69faf9f875ad6dec7c823c140990e0.tar.bz2
tracing: install trace events file only if necessary
It is not useful when configuring with --enable-trace-backends=nop. Signed-off-by: Carlos Santos <casantos@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-ID: <20230408010410.281263-1-casantos@redhat.com>
Diffstat (limited to 'trace')
-rw-r--r--trace/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace/meson.build b/trace/meson.build
index b0d31a6..c3412dc 100644
--- a/trace/meson.build
+++ b/trace/meson.build
@@ -64,7 +64,7 @@ trace_events_all = custom_target('trace-events-all',
input: trace_events_files,
command: [ 'cat', '@INPUT@' ],
capture: true,
- install: true,
+ install: get_option('trace_backends') != [ 'nop' ],
install_dir: qemu_datadir)
if 'ust' in get_option('trace_backends')