aboutsummaryrefslogtreecommitdiff
path: root/trace/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-12-16 13:32:45 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-02 21:03:36 +0100
commite921f1a71032291035ada7b0ab35c2d01a0f6a0c (patch)
treee19cdb57438b9773a54126913f39576c19f648ba /trace/meson.build
parent084cfca143487d9b3ef37e7ee117f30e8e301af1 (diff)
trace: do not include TCG helper tracepoints in no-TCG builds
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'trace/meson.build')
-rw-r--r--trace/meson.build2
1 files changed, 1 insertions, 1 deletions
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