qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: casantos@redhat.com
To: qemu-devel@nongnu.org
Cc: Carlos Santos <casantos@redhat.com>
Subject: [PATCH] tracing: install trace events file only if necessary
Date: Sun, 26 Mar 2023 18:04:46 -0300	[thread overview]
Message-ID: <20230326210446.66170-1-casantos@redhat.com> (raw)

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



             reply	other threads:[~2023-03-26 21:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-26 21:04 casantos [this message]
2023-03-27  9:23 ` [PATCH] tracing: install trace events file only if necessary 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230326210446.66170-1-casantos@redhat.com \
    --to=casantos@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).