From: Paolo Bonzini Date: Wed, 16 Dec 2020 12:32:45 +0000 (+0100) Subject: trace: do not include TCG helper tracepoints in no-TCG builds X-Git-Tag: v6.0.0-rc0~157^2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e921f1a71032291035ada7b0ab35c2d01a0f6a0c;p=thirdparty%2Fqemu.git trace: do not include TCG helper tracepoints in no-TCG builds Signed-off-by: Paolo Bonzini --- diff --git a/trace/meson.build b/trace/meson.build index 843ea144954..b19309b3276 100644 --- a/trace/meson.build +++ b/trace/meson.build @@ -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