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 3819441CB2; Thu, 16 Feb 2023 15:44:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0C32940EE3; Thu, 16 Feb 2023 15:44:19 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id A351D40E03 for ; Thu, 16 Feb 2023 15:44:17 +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 31G7ZK2V007418; Thu, 16 Feb 2023 06:44:14 -0800 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2106.outbound.protection.outlook.com [104.47.58.106]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nsg6w9u90-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Feb 2023 06:44:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YxwCKIlBsIYzUgh5sO/meNQHTlXXPmE2uiuKvHULMJoFL72g2hCYW7xxYDF1Lo36pDEQoY2sGRmEr8SLDsODxam4cyKID9MpEdPesRc1gcG+HZ6BCaDB28eKQTsuvLwEwO21sDRRwsZ9jpPugoqGXCPNiqllXiGHkPN66OXrQuYsKpJYkpMHCkoypFkRGgDWoHwjDE273RWbalHLuKxi66fRQweTv9EOpmSsrAyyrrZnwWUSZEmyYocCYDOIizAgD3vJoVFJKLtRRjZf6UJ7Ay9ABMj2oS76OgsOIkkxFjTzdpFaOibdrfaqvlxDaU5pl7ODoezUthI4IpgAT5WX8w== 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=UTR0cZhCMVh2Nsje/sogHJSb41lHPxlATUnTYWXs6KA=; b=XCFqMNoB8Tcbfz12PininrmHq07tP/e2Y0W2HAp/Xfqr4BadM1CAWrsB/pY9WfrM3quYje8Qs3v1PkQtSGz8k0yA95s4K72z2JScaniYYGHICnpyqvv9mmziWBOJWEj8aJMhxKgzYot3E1t1ZSY62Sln/oLyUcBqK/iwgIQN/rCD+YHAziKsJTkK+fuKiqerxA7tdwwHboNk6FT8BKtu+8bIJVC8uZZZDxwvUE9n396JR58QDlmm4W163iyBXgLhkZaglW6NM70HX1ZyCIRQFhYOLXyD/EJqSHKpBAlDxmy4ILs+6ceJRbO4FhOUcEZbtkpTWHr8udYe449w0a2pPQ== 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=UTR0cZhCMVh2Nsje/sogHJSb41lHPxlATUnTYWXs6KA=; b=usMzUTrc1punMmjT0QzjuW/8/hoJu5/40SWYUT8Aryt0awYklXhiX02JRJrOpHH8Nv3GZb2tpv3v0Mq8U+qlFhRHC/MdhDd4st3mshv1jo8o+c3aI/v96tU02bcNTFnMwfVdP1F+SxU6t3cPw8MSW3xf/Er9NV3y/+xNyOzerhs= Received: from DM4PR18MB4368.namprd18.prod.outlook.com (2603:10b6:5:39d::6) by SJ0PR18MB3884.namprd18.prod.outlook.com (2603:10b6:a03:2ee::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Thu, 16 Feb 2023 14:44:09 +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.6086.026; Thu, 16 Feb 2023 14:44:09 +0000 From: Tomasz Duszynski To: Ruifeng Wang , "dev@dpdk.org" , "thomas@monjalon.net" CC: "roretzla@linux.microsoft.com" , "bruce.richardson@intel.com" , Jerin Jacob Kollanukkaran , "mattias.ronnblom@ericsson.com" , "mb@smartsharesystems.com" , "zhoumin@loongson.cn" , "david.marchand@redhat.com" , nd Subject: RE: [PATCH v10 1/4] lib: add generic support for reading PMU events Thread-Topic: [PATCH v10 1/4] lib: add generic support for reading PMU events Thread-Index: AQHZP57ajg5NURCzYUaq/tclfPn6Ja7RNEUAgABpOoA= Date: Thu, 16 Feb 2023 14:44:09 +0000 Message-ID: References: <20230202124951.2915770-1-tduszynski@marvell.com> <20230213113156.385482-1-tduszynski@marvell.com> <20230213113156.385482-2-tduszynski@marvell.com> In-Reply-To: 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_|SJ0PR18MB3884:EE_ x-ms-office365-filtering-correlation-id: 83cc5292-03cc-49aa-b472-08db102c4358 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Rx2nRTyI2ReLh8VI1xZtHuNC5nVOLkE2mzS/q5TOxqcya7pFtAIyiJ00Lho9kVNCDp13mcbNbJ6w+ZGKBp9HCn0THXJwxFhSJjv1B563nyLt7lBzWp4G+OHGYauCB66TlYdwEELK4PRtZuhjqOR0hbobKEmPR0tVpnn3MesbqdvdMx/AJ4ZskLbCMqmBVI6RQJCnb9yfTkIhEON7IzPDyekrqS/OVeKtTU+a5GDa7YCT1gpOn06vCNUoUcEvy847kpX+QHsMGjni636RUns/5nADvjQ28ZAy3QxH3VdbyWjC7NE94vCCYcUofSSTfA8mFoyPQVSMPd7PnpBFBJWn2aDiUD1IyKYuXOsMHVbUSBxhzBUDmJbowZQQOnX7d9H1aAuZ3pS08/S1iytpC36biGEHmH7pfAP5wcVCb6KtkwPwcG/avX1VxVtB8Z66hDVJjV6fTGruyM6yF/0qAWjLx5h8eWCpL82TzZOo4QETD35TDHgJsLbdyj8U2vLGMAb8Xlmj73b0OW08IjDx9MyOFYbgdeE3YoqL8mOZBdkdWDtUSWHxE5wVvMxoT8a6wUWcKhQali0mIVOGkakpxORp23LimtnbPHl+T26puHq+xlZdX9ePAzY1AoldY7OaqNCVWswtGXY43eKM5J6xmIwkCfSYpt6OtP0F4hXIg1i+KMLHjOPQJ8DCv5kLPPspybgKYWeya6/hlEt4rY7QdgsftA== 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)(376002)(346002)(136003)(39860400002)(396003)(366004)(451199018)(71200400001)(7696005)(55016003)(478600001)(122000001)(83380400001)(38070700005)(86362001)(38100700002)(33656002)(6506007)(26005)(186003)(9686003)(4744005)(5660300002)(7416002)(8936002)(66556008)(316002)(66446008)(8676002)(64756008)(4326008)(52536014)(54906003)(110136005)(66476007)(76116006)(66946007)(2906002)(41300700001)(41533002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Z2VYVklUdndsNitKRGhjV0VKTXFNMlBvZDlicTVzWkNQQmJtMDdzLzRvTTVs?= =?utf-8?B?R2NHQ1pXcldPaXRmdUJLWjEyNmNrTDFhRkdiam82QXhlWUQzdTlTR1JJaG5P?= =?utf-8?B?WDRqZ2NmaTZyWk1YdnYvSktnMEZ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8?B?K2Y5bE4zOUFaNXltK3YvU3YvYURWTEQ2anpZaHhBcGxuWndTSUluWk1iOWhr?= =?utf-8?B?bXNQaVhzUllOc3J0SVNaUHVEOURiU1BsaUcrRzNOeUJXanU4U2JaK0hjcGNY?= =?utf-8?B?bDRjV2hWcFFjY2NVclovQkFvM1QxMitvYXpnd0VhU1c2VEhWQnRpdmFvVlVj?= =?utf-8?Q?a/p87pQdSXVhqcEN0JdA+5KUu?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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: 83cc5292-03cc-49aa-b472-08db102c4358 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2023 14:44:09.7393 (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: AlNM30+5eu6cMJjKTYAxRIu0ZNpZlT6JADhU1TTJkfnW6dd7xjIgGEwoZQ4VKPlBoepyNdFFatqEGE3+buponw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB3884 X-Proofpoint-ORIG-GUID: DrmlZ__JThW9g3SvXst3Fi4gx2UpcivE X-Proofpoint-GUID: DrmlZ__JThW9g3SvXst3Fi4gx2UpcivE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-16_10,2023-02-16_01,2023-02-09_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@dp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