Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
casantos authored and Stefan Hajnoczi committed Dec 27, 2023
1 parent 455f444 commit 5db0523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace/meson.build
Expand Up @@ -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')
Expand Down

0 comments on commit 5db0523

Please sign in to comment.