From patchwork Fri Mar 5 06:37:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 11500 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 623F5BD80C for ; Fri, 5 Mar 2021 06:37:54 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A653B68A93; Fri, 5 Mar 2021 07:37:53 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="XRgflEJM"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 52501602E6 for ; Fri, 5 Mar 2021 07:37:51 +0100 (CET) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4EADCCC; Fri, 5 Mar 2021 07:37:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1614926270; bh=xFqrwCYk7Ng7iIa4LBiZUGokEKh6+4p9nWPnWfO/LO0=; h=From:To:Cc:Subject:Date:From; b=XRgflEJMmE6qFtEwc9iAAPS4qF1OU7bSNuFUrOm9YcDFq10NEmCmfwk9lKbbUzjcB 7MQOlG5rqPtnLO3mlg3OCi3NIAR2Y47DfnGfqMg8X0JR/n+RmuMqtR6vPze206PfTt E64Y51Gd67RBdx0qBK2if1aarwOtDURWZdIjIutM= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Fri, 5 Mar 2021 15:37:40 +0900 Message-Id: <20210305063742.15166-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] Generate IPA tracepoints 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" This patch series generates tracepoints for IPA calls. Instead of tracing the start of call and end of call, this time we trace a call and the receipt of the call, in both directions between the pipeline handler and IPA. This doesn't let us automatically figure out which call in one direction corresponds to a response in the other direction, but it facilitates debugging what kinds of calls/responses are happening when. Paul Elder (2): tracepoints: Add ipa_recv tracepoint utils: ipc: Generate IPA tracepoints include/libcamera/internal/tracepoints.h.in | 4 ++++ include/libcamera/internal/tracepoints/pipeline.tp | 13 +++++++++++++ src/libcamera/proxy/worker/meson.build | 2 +- .../libcamera_templates/module_ipa_proxy.cpp.tmpl | 3 +++ .../module_ipa_proxy_worker.cpp.tmpl | 3 +++ 5 files changed, 24 insertions(+), 1 deletion(-)