[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/3] trace: do not include TCG helper tracepoints in no-TCG build
From: |
Paolo Bonzini |
Subject: |
[PATCH 3/3] trace: do not include TCG helper tracepoints in no-TCG builds |
Date: |
Wed, 16 Dec 2020 14:55:29 +0100 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
trace/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/trace/meson.build b/trace/meson.build
index 3fa760f568..012d0dbceb 100644
--- a/trace/meson.build
+++ b/trace/meson.build
@@ -71,7 +71,7 @@ foreach d : [
input: meson.project_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
--
2.28.0