From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8160741B9F; Wed, 1 Feb 2023 14:51:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 08D294021F; Wed, 1 Feb 2023 14:51:33 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 54BB44021D for ; Wed, 1 Feb 2023 14:51:32 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH v7 0/4] add support for self monitoring Date: Wed, 1 Feb 2023 14:51:29 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D876E8@smartserver.smartshare.dk> In-Reply-To: <20230201131757.1787527-1-tduszynski@marvell.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v7 0/4] add support for self monitoring Thread-Index: Adk2P6WX0cU6TBJuTkaAFe1MDH2Z0QABHLxg References: <20230119233916.4029128-1-tduszynski@marvell.com> <20230201131757.1787527-1-tduszynski@marvell.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Tomasz Duszynski" , Cc: , , , , , , 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 > From: Tomasz Duszynski [mailto:tduszynski@marvell.com] > Sent: Wednesday, 1 February 2023 14.18 >=20 > This series adds self monitoring support i.e allows to configure and > read performance measurement unit (PMU) counters in runtime without > using perf utility. This has certain adventages when application runs > on > isolated cores with nohz_full kernel parameter. >=20 > Events can be read directly using rte_pmu_read() or using dedicated > tracepoint rte_eal_trace_pmu_read(). The latter will cause events to = be > stored inside CTF file. >=20 > By design, all enabled events are grouped together and the same group > is attached to lcores that use self monitoring funtionality. >=20 > Events are enabled by names, which need to be read from standard > location under sysfs i.e >=20 > /sys/bus/event_source/devices/PMU/events >=20 > where PMU is a core pmu i.e one measuring cpu events. As of today > raw events are not supported. I like the modifications in v7. Series-acked-by: Morten Br=F8rup