]> git.proxmox.com Git - mirror_qemu.git/commitdiff
trace: do not include TCG helper tracepoints in no-TCG builds
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Dec 2020 12:32:45 +0000 (13:32 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 2 Jan 2021 20:03:36 +0000 (21:03 +0100)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
trace/meson.build

index 843ea1449540a580d233c857d9b2c7e863705424..b19309b3276519b9b1c984ca6cef3ef4b0eb10e4 100644 (file)
@@ -71,7 +71,7 @@ foreach d : [
                 input: meson.source_root() / 'trace-events',
                 command: [ tracetool, '--group=root', '--format=@0@'.format(d[1]), '@INPUT@' ],
                 capture: true)
-  specific_ss.add(gen)
+  specific_ss.add(when: 'CONFIG_TCG', if_true: gen)
 endforeach
 
 if 'CONFIG_TRACE_UST' in config_host