From e921f1a71032291035ada7b0ab35c2d01a0f6a0c Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 16 Dec 2020 13:32:45 +0100 Subject: [PATCH] trace: do not include TCG helper tracepoints in no-TCG builds Signed-off-by: Paolo Bonzini --- trace/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace/meson.build b/trace/meson.build index 843ea14495..b19309b327 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