summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-11-20 10:46:56 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-11-29 18:12:41 +0100
commit8178e01b36d767e05d7bbb9dd1f752f7ede0db3d (patch)
tree15e66ab6403cc36ce966dc5df950b3ca04372265 /src
parent663b5d859fd479c2ff462c6555f37977444e035a (diff)
libcamera: Add tracing to meson summary
The meson option summary currently does not report if the support for tracing is enabled or not. Add it. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build
index 6727a777..ddedc78c 100644
--- a/src/libcamera/meson.build
+++ b/src/libcamera/meson.build
@@ -70,8 +70,11 @@ if libgnutls.found()
endif
if liblttng.found()
+ tracing_enabled = true
config_h.set('HAVE_TRACING', 1)
libcamera_sources += files(['tracepoints.cpp'])
+else
+ tracing_enabled = false
endif
if libudev.found()