trace: do not include TCG helper tracepoints in no-TCG builds
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
084cfca143
commit
e921f1a710
|
@ -71,7 +71,7 @@ foreach d : [
|
||||||
input: meson.source_root() / 'trace-events',
|
input: meson.source_root() / 'trace-events',
|
||||||
command: [ tracetool, '--group=root', '--format=@0@'.format(d[1]), '@INPUT@' ],
|
command: [ tracetool, '--group=root', '--format=@0@'.format(d[1]), '@INPUT@' ],
|
||||||
capture: true)
|
capture: true)
|
||||||
specific_ss.add(gen)
|
specific_ss.add(when: 'CONFIG_TCG', if_true: gen)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
if 'CONFIG_TRACE_UST' in config_host
|
if 'CONFIG_TRACE_UST' in config_host
|
||||||
|
|
Loading…
Reference in New Issue