Skip to content

Commit

Permalink
tracing: install trace events file only if necessary
Browse files Browse the repository at this point in the history
It is not useful when configuring with --enable-trace-backends=nop.

Signed-off-by: Carlos Santos <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Message-ID: <[email protected]>
  • Loading branch information
casantos authored and stefanhaRH 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
Original file line number Diff line number Diff line change
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.