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 3E6ED41BAA; Thu, 2 Feb 2023 08:54:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CA8D42B7E; Thu, 2 Feb 2023 08:54:39 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8B2A5406A2 for ; Thu, 2 Feb 2023 08:54:37 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3127KeAe007927; Wed, 1 Feb 2023 23:54:34 -0800 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nfjrj6uy1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Feb 2023 23:54:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lsGcueuu8e+7gdhfwKR3YlLu9Z5hoMXDSonXtDtnYW6TazHyfYYy1oeEZDTCZbK0s2KhhHr1m75gBD8CnKMcKBVj40ejjILLuzDUEEiyWHyYJwjahu5h+q+vgAW/MAceqHspgBomtQ0wmjq2SyeI7HtVfICOnSCk7fNOD2+WnR9jXb8zh/SmvhlWs+T9If42ROdyoH5fX1JaVf3g+igwT/FDgOPOGSCA5dyhWGOPO5BVo2ZDrzUYocELlikzHa9Wnjp8W3utM6OrdmDHFvKp2kzo99uxEVMHb3EIRIjyKpKi0yzXfm4kULbRcx37anHdTXEXjDlB21Qdh4QHdAfutQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1sCruR9BGyz/NXnZCMPlJ/S3tRL6q2IBUuAyLQXP6kk=; b=YqYASSWWCY7GFknH2vX7OGy6vEHriPSutVIqI8py9iwxdUAo4A716EAPkaGVO8Ch7P+A5PzRdUWLRRQs/Wdg+wgHl6qMdKlEdMJYGKaLg6xQsZwj3aa8M23wd7L1RHpER8ouRUgbyu3wB9Mei6SPGw8kjnzPMzRTklpDTTFKyEJdBkbz2XZeSll9ojMfeBcGpy+C19pOArtvzusMiY6BETrlwtcSy2GG9qghNQhSZVcMR9w4WDJQGC8x+NnklYZjuob8xB2X9fKMhQpRYZRHlO0iDNQYVspwHA9se/vDb9JLVZ8fnGJMouF8t/XD2enwVJWXNkOgT0R0Lwoo4wCpWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1sCruR9BGyz/NXnZCMPlJ/S3tRL6q2IBUuAyLQXP6kk=; b=urwXy0MF1bocZIe5Wxn04tpk2hisxtoUB0w05VYcWc9V8w6PqimpeU2S0PRfOjNXOtjmKywvvItwhDK25xWMYfitp8yM5UcF6cpimij/Pg2ic8f6Kn/yT3HDAVut0Sk1FPx+MIDaiSHCI/qSePPzn5Co6DxR+9uh0oSJXlUrnp8= Received: from DM4PR18MB4368.namprd18.prod.outlook.com (2603:10b6:5:39d::6) by MW5PR18MB5175.namprd18.prod.outlook.com (2603:10b6:303:1c9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.24; Thu, 2 Feb 2023 07:54:32 +0000 Received: from DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::6d6a:99da:de:ea6b]) by DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::6d6a:99da:de:ea6b%8]) with mapi id 15.20.6064.025; Thu, 2 Feb 2023 07:54:32 +0000 From: Tomasz Duszynski To: =?iso-8859-1?Q?Morten_Br=F8rup?= , "dev@dpdk.org" CC: "roretzla@linux.microsoft.com" , "Ruifeng.Wang@arm.com" , "bruce.richardson@intel.com" , Jerin Jacob Kollanukkaran , "mattias.ronnblom@ericsson.com" , "thomas@monjalon.net" , "zhoumin@loongson.cn" Subject: RE: [PATCH v7 0/4] add support for self monitoring Thread-Topic: [PATCH v7 0/4] add support for self monitoring Thread-Index: AQHZNj+gEv4kAq7PO0ibWnRx/+ZpEq66HBKAgAEuExA= Date: Thu, 2 Feb 2023 07:54:32 +0000 Message-ID: References: <20230119233916.4029128-1-tduszynski@marvell.com> <20230201131757.1787527-1-tduszynski@marvell.com> <98CBD80474FA8B44BF855DF32C47DC35D876E8@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D876E8@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR18MB4368:EE_|MW5PR18MB5175:EE_ x-ms-office365-filtering-correlation-id: b4b68664-e675-4a36-6443-08db04f2b85e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WjMKPYaSPeVnJeeZuyWRVRSgSEutsBisj0TZLkLkfw/E0f3jJ/gXFDxGwYx6Tgyb45ykIydJVp49EnfcIT8hbXQp/jV99dD6iZkUKoxaipWYyjIfY2+Z8wItrAuKgbRuPF4CtmaLiX0GzQ0Mtg0VuntjzxyfRuZY9lAj+qYHS7C2e1PKixTDw4Xt2JYQ+mQlazW0/VWeB3+muti6UgfZFtPvyfW7Z4WHwbA640Eh/mbGpFtAfCjE6z7VoJmpX/PMOlo1h0PuFkKT9Yt8GTsyo5bLQVcR5zBPwN0GDXZUda7I0GCOVPY3vaqxqii1//373bjEBls11+8EMT8dpGT5SqqD+fOa6NjfWkkJdARa1wu3Pz7j9cKiKYoSAbkA5CT7nj7J0J7SNQuevbbLZTSZRoKKjwzQVS7GNK3pUTTp2SZ4pEYEawgZMn1kjQRmgXn0waxub1dt+P/fNLaG1lDJR/x1tQ/0h2ySIaG+t5P8KPOibjulBqhCaVGyac1owy15RnwaXrJfKIRswc9M2jloERVK4eiRpDhNKfX+0kFnYUms1Gi6x8nfrSR4TnTTmuzRQlmwXaTtYqhTjBoL4wyOvtKDBp+WYIHOWQJ2FtzUR09rD/5XIgeSUy9YBQ7sDv+MOiq5KaZgyzrHpQ29WirQYJxvpDT6EE96xHKsdo+mcMLSxH4ShwKKA+sPJ88BEcHtPom8mOj6Y5LaHLk+NCEEzg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR18MB4368.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(396003)(346002)(376002)(136003)(366004)(451199018)(122000001)(5660300002)(6506007)(110136005)(38100700002)(9686003)(55016003)(83380400001)(41300700001)(33656002)(86362001)(26005)(186003)(38070700005)(316002)(2906002)(52536014)(71200400001)(8936002)(76116006)(66946007)(66476007)(66556008)(64756008)(66446008)(7696005)(4326008)(478600001)(54906003)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?YwVeO44MKab8Oqv3xIaiNMxsJCFDaTwnxdRwGzs7GD+eRTq+i5FmhQPe+L?= =?iso-8859-1?Q?Fo8rayPhTC/EaemYPa6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Q?VWqpRoXvobPJ09y1CyJV348+i5jbFXz+O57KkDDR9GLD2sUfUc4eg1Tpq9?= =?iso-8859-1?Q?vd318I2R1fyL9lSfudZ0pJXuo9Bs4t/pZ6doRh83ELBdmdnz+nmnl0V2cP?= =?iso-8859-1?Q?axztZfILSZ/lJ/SJlvOdDoik11Jx7x5j2f6QwYZJC7MZmaGd1hcq/TmGc8?= =?iso-8859-1?Q?Q9qByLcumG9se6NgYpjrC64GcNK42hwxdmmm/c6QRnBgSHl79Tt7Esws0b?= =?iso-8859-1?Q?I1PZJQBAlWpGdud5PRI/MsULoaa1ERGaqCcTq4JtZifxnKefuBTqJysw9+?= =?iso-8859-1?Q?GU6ScSyRVLKJbSQDyAsZvN+PFsmF7WYijm8kgin06hLWYmMibcNTTXb3nH?= =?iso-8859-1?Q?+7ZuXv+ClM/lTsyTw/5uGCSH3q+QfJHEljUVpFifWNYUKx5M5wczD7J7UU?= =?iso-8859-1?Q?USHE2mt5cjsHmskrTDPfztj8XGOA7pOs5ocdTtt9QvnFwVVy2WrUk6kwep?= =?iso-8859-1?Q?HarvpblstZcH6FkNr+NE8U0sFgmK79fjVZ6V9R/ZRjniOiAtCSHxByp7jo?= =?iso-8859-1?Q?AiACbi8MuWzmBXjwqkUw7gX2eQrBQtyrAFiQ3YpjkyFQP2hJbGdCch67w1?= =?iso-8859-1?Q?4shS7NJSQARsajb+0P6/sXbz51OyNki7vgt1oMOvcOO9h7biw6Lxwq3hCX?= =?iso-8859-1?Q?OGWKqK+F9AD29Y2C2UVn+QBLHb8IjRJYtQ?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR18MB4368.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4b68664-e675-4a36-6443-08db04f2b85e X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2023 07:54:32.4535 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yEsaVCLx9kI1qKbgC80qHhEUoE8vbTwG5NiGBvN4brbOwMwSqiGN80PcL9EYGZdKNkWjXKvmD7AoaM3dzCIQfQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR18MB5175 X-Proofpoint-ORIG-GUID: A0Btpeu5KVnNkEWzoYBtJiKVgCOuQmIf X-Proofpoint-GUID: A0Btpeu5KVnNkEWzoYBtJiKVgCOuQmIf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-01_15,2023-01-31_01,2022-06-22_01 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 Hi Morten, >-----Original Message----- >From: Morten Br=F8rup >Sent: Wednesday, February 1, 2023 2:51 PM >To: Tomasz Duszynski ; dev@dpdk.org >Cc: roretzla@linux.microsoft.com; Ruifeng.Wang@arm.com; bruce.richardson@i= ntel.com; Jerin Jacob >Kollanukkaran ; mattias.ronnblom@ericsson.com; thomas@= monjalon.net; >zhoumin@loongson.cn >Subject: [EXT] RE: [PATCH v7 0/4] add support for self monitoring > >External Email > >---------------------------------------------------------------------- >> From: Tomasz Duszynski [mailto:tduszynski@marvell.com] >> Sent: Wednesday, 1 February 2023 14.18 >> >> 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. >> >> 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. > >I like the modifications in v7. > >Series-acked-by: Morten Br=F8rup Thanks.=20