From patchwork Mon Apr 24 15:24:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Fiorini X-Patchwork-Id: 126493 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E4641429DC; Mon, 24 Apr 2023 17:24:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D665840ED6; Mon, 24 Apr 2023 17:24:18 +0200 (CEST) Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by mails.dpdk.org (Postfix) with ESMTP id 4722B40DF8 for ; Mon, 24 Apr 2023 17:24:18 +0200 (CEST) Received: from octosquare.dorsal.polymtl.ca (octosquare.dorsal.polymtl.ca [132.207.72.20]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 33OFOD9W022604 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Apr 2023 11:24:17 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 33OFOD9W022604 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polymtl.ca; s=default; t=1682349857; bh=QVE+58xPPn13tVRt94IUePX0LeKC2MfSXRwL0DGxxFE=; h=From:To:Cc:Subject:Date:From; b=GPOUhPPbaa4iBg5KAxJNXxzJ7+LdelJ0MdoxmLAXoZyRKMYh72gNqyiiUjpCBXf5O AMuwiVtECpYhQC4a31nhmuX4Uu3tlVXTjunZ/qlE0tMHrfERxbp1NAnuGfkjSQcU9c JloHoXcW/xyaQnJgZzmlP1QMqlL+qCdOQVmwFjJw= From: Arnaud Fiorini To: Cc: dev@dpdk.org, Arnaud Fiorini Subject: [PATCH 0/1] eal: add tracepoints to track lcores and services Date: Mon, 24 Apr 2023 15:24:11 +0000 Message-Id: <20230424152412.3784016-1-arnaud.fiorini@polymtl.ca> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Poly-FromMTA: (octosquare.dorsal.polymtl.ca [132.207.72.20]) at Mon, 24 Apr 2023 15:24:13 +0000 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The events generated by these tracepoints are then used in Trace Compass[1] to show the lcore state and service state throughout the execution of a program. A trace has been generated using the service cores application and can be used to test the analysis. [1] https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/200457 Arnaud Fiorini (1): eal: add tracepoints to track lcores and services .mailmap | 1 + lib/eal/common/eal_common_thread.c | 4 ++ lib/eal/common/eal_common_trace_points.c | 21 +++++++++ lib/eal/common/rte_service.c | 18 ++++++- lib/eal/include/eal_trace_internal.h | 60 ++++++++++++++++++++++++ 5 files changed, 103 insertions(+), 1 deletion(-)