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 DC39542FA3; Mon, 31 Jul 2023 14:33:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E74EC43256; Mon, 31 Jul 2023 14:33:09 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id 53D5543255 for ; Mon, 31 Jul 2023 14:33:08 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 883FD320069B; Mon, 31 Jul 2023 08:33:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 31 Jul 2023 08:33:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1690806786; x=1690893186; bh=izhkChnuj+adnEjdUU7DBHacXqdThiVs/12 S5WSk8vk=; b=RMjI2lfbfWIN1ZC3OkZ2pqNpZY73ZXWmxrLKCs3bBeaQ9cjGX33 ehlJIeTb6eqnRUnqcuNxCIviN3k1tWUCYaQYpwgVLSyVmsDWekrC0EAMbEOHMo/p a1EAmW0w62+TztI/LvvX2hrgS7XRpzwkIb/gc6shZ7KK1xUSoWuOoCqoP6nxjARo ehZog5RoSGjIxVyfe0VO2WtC57SikJxAl55AOMOWhR1outmSYcPZyyREClGeqqwA pncEh9OpapYF1ptdRh45YR+5tpKUsPf/BfoE+4k9AVUYQezAH1xR5gfovyXOs8ZK 6Z3A7u9QnR54HtIh5nrDSoPLdOhexIub6Xw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1690806786; x=1690893186; bh=izhkChnuj+adnEjdUU7DBHacXqdThiVs/12 S5WSk8vk=; b=jzxoaHb2E4ZDxXmlNz5R13PEB/RAVwoJKTgHoUwRc+ZbKwK2Bug 6TBoQ/e5sR8afoFWNdRwvrrQq5unY5tk0w/m/18SjJdpTGjA+B7WO4tMuUXTwJAz qGps8kRXStccUrSS5gWxOPDvbekrVogp0qTHxO7rOVQDVZxwoJ6DDElDYrQwGocq yZW2WKSRdR0HOnrWz+22LF+UYq7/LxIdlq3vN95WFDINnnuIW0rLAbeEVU1m//LQ 4rni3ugInjSeRUy2nNq6KdeLLA8FSjmBjJn8zU40pTo3wKKPj8Ah3WVG4e+qbOCw sKlzAxYXThYm6oB7KP1dIQFbj4Mljwp5kOQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrjeeggdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepgedttdeljeejgeffkeekkedtjeevtdehvedtkeeivdeuuedviedu vdelveejueejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 31 Jul 2023 08:33:04 -0400 (EDT) From: Thomas Monjalon To: Tomasz Duszynski Cc: dev@dpdk.org, roretzla@linux.microsoft.com, Ruifeng.Wang@arm.com, bruce.richardson@intel.com, jerinj@marvell.com, mattias.ronnblom@ericsson.com, mb@smartsharesystems.com, zhoumin@loongson.cn, Konstantin Ananyev , David Marchand Subject: Re: [PATCH v11 0/4] add support for self monitoring Date: Mon, 31 Jul 2023 14:33:02 +0200 Message-ID: <3853100.fW5hKsROvD@thomas> In-Reply-To: References: <20230213113156.385482-1-tduszynski@marvell.com> <20230216175502.3164820-1-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 Ping for update What is the status of this feature? 04/05/2023 10:02, David Marchand: > Hello Tomasz, >=20 > On Thu, Feb 16, 2023 at 6:55=E2=80=AFPM Tomasz Duszynski wrote: > > > > 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 advantages when application runs on > > isolated cores running dedicated tasks. > > > > 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. > > > > By design, all enabled events are grouped together and the same group > > is attached to lcores that use self monitoring funtionality. > > > > Events are enabled by names, which need to be read from standard > > location under sysfs i.e > > > > /sys/bus/event_source/devices/PMU/events > > > > where PMU is a core pmu i.e one measuring cpu events. As of today > > raw events are not supported. > > > > Tomasz Duszynski (4): > > lib: add generic support for reading PMU events > > pmu: support reading ARM PMU events in runtime > > pmu: support reading Intel x86_64 PMU events in runtime > > eal: add PMU support to tracing library >=20 > There are still some pending comments on this series and it can't be > merged until they get sorted out. >=20 > I noted two points : > - Konstantin asked for better explanations in the implementation. > - He also pointed out at using this feature with non EAL lcores. >=20 > Could you work on this so we can consider this series for v23.07?