mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
meson: add remaining generated tcg trace helpers
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
a81df1b68b
commit
71c782f5cc
2 changed files with 14 additions and 51 deletions
|
@ -55,6 +55,20 @@ custom_target('trace-events-all',
|
|||
install: true,
|
||||
install_dir: config_host['qemu_datadir'])
|
||||
|
||||
foreach d : [
|
||||
['generated-tcg-tracers.h', 'tcg-h'],
|
||||
['generated-helpers.c', 'tcg-helper-c'],
|
||||
['generated-helpers.h', 'tcg-helper-h'],
|
||||
['generated-helpers-wrappers.h', 'tcg-helper-wrapper-h'],
|
||||
]
|
||||
custom_target(d[0],
|
||||
output: d[0],
|
||||
input: meson.source_root() / 'trace-events',
|
||||
command: [ tracetool, '--group=root', '--format=@0@'.format(d[1]), '@INPUT@' ],
|
||||
build_by_default: true, # to be removed when added to a target
|
||||
capture: true)
|
||||
endforeach
|
||||
|
||||
if 'CONFIG_TRACE_UST' in config_host
|
||||
trace_ust_all_h = custom_target('trace-ust-all.h',
|
||||
output: 'trace-ust-all.h',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue