qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tracing: install trace events file only if necessary
@ 2023-03-26 21:04 casantos
  2023-03-27  9:23 ` Daniel P. Berrangé
  0 siblings, 1 reply; 6+ messages in thread
From: casantos @ 2023-03-26 21:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: Carlos Santos

From: Carlos Santos <casantos@redhat.com>

It is required only if linux-user, bsd-user or system emulator is built.

Signed-off-by: Carlos Santos <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 8e80be895c..3fb41c97a4 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: have_linux_user or have_bsd_user or have_system,
                                  install_dir: qemu_datadir)
 
 if 'ust' in get_option('trace_backends')
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-27 17:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26 21:04 [PATCH] tracing: install trace events file only if necessary casantos
2023-03-27  9:23 ` Daniel P. Berrangé
2023-03-27 14:28   ` Carlos Santos
2023-03-27 14:42     ` Daniel P. Berrangé
2023-03-27 14:44       ` Carlos Santos
2023-03-27 17:31         ` Carlos Santos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).