diff mbox series

[PULL,1/1] tracing: install trace events file only if necessary

Message ID 20231227100258.130317-2-stefanha@redhat.com (mailing list archive)
State New, archived
Headers show
Series [PULL,1/1] tracing: install trace events file only if necessary | expand

Commit Message

Stefan Hajnoczi Dec. 27, 2023, 10:02 a.m. UTC
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(-)

Comments

Stefan Hajnoczi Dec. 27, 2023, 2:24 p.m. UTC | #1
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/9.0 for any user-visible changes.
diff mbox series

Patch

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')