From patchwork Sat Nov 20 11:13:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 14680 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id C8325C3250 for ; Sat, 20 Nov 2021 11:12:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 604B760441; Sat, 20 Nov 2021 12:12:35 +0100 (CET) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 05E7C604FB for ; Sat, 20 Nov 2021 12:12:30 +0100 (CET) Received: (Authenticated sender: jacopo@jmondi.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 8C49B100002; Sat, 20 Nov 2021 11:12:29 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Sat, 20 Nov 2021 12:13:13 +0100 Message-Id: <20211120111313.106621-13-jacopo@jmondi.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211120111313.106621-1-jacopo@jmondi.org> References: <20211120111313.106621-1-jacopo@jmondi.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 12/12] libcamera: Add tracing to meson summary X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The meson option summary currently does not report if the support for tracing is enabled or not. Add it. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- meson.build | 1 + src/libcamera/meson.build | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 7892a9e38c1c..15793e1834ce 100644 --- a/meson.build +++ b/meson.build @@ -179,6 +179,7 @@ summary({ 'qcam application': qcam_enabled, 'lc-compliance application': lc_compliance_enabled, 'Unit tests': test_enabled, + 'Tracing support': tracing_enabled, }, section : 'Configuration', bool_yn : true) diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 6fb0d5f49b63..6a3f5160fdcd 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -71,8 +71,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()