diff options
author | Carlos Santos <casantos@redhat.com> | 2023-04-07 22:04:10 -0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2023-12-27 05:01:55 -0500 |
commit | 5db052306e69faf9f875ad6dec7c823c140990e0 (patch) | |
tree | cec7e2982658a1577632559442f1c5f26c13b508 /trace | |
parent | 455f4440687fcee03e62d9b17b28162b638458af (diff) |
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.build | 2 |
1 files changed, 1 insertions, 1 deletions
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') |