[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 1/1] tracing: install trace events file only if necessary
From: |
Stefan Hajnoczi |
Subject: |
[PULL 1/1] tracing: install trace events file only if necessary |
Date: |
Wed, 27 Dec 2023 05:02:58 -0500 |
From: Carlos Santos <casantos@redhat.com>
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>
---
trace/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trace/meson.build b/trace/meson.build
index b0d31a67e6..c3412dc0ba 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')
--
2.43.0
- [PULL 0/1] Tracing patches, Stefan Hajnoczi, 2023/12/27
- [PULL 1/1] tracing: install trace events file only if necessary,
Stefan Hajnoczi <=