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 852A441CAE; Thu, 16 Feb 2023 08:41:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FCFC40EE3; Thu, 16 Feb 2023 08:41:44 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2075.outbound.protection.outlook.com [40.107.13.75]) by mails.dpdk.org (Postfix) with ESMTP id 5864E40E0F for ; Thu, 16 Feb 2023 08:41:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B7POau4XiHN4U+WEaleAwoMM1ML0lieZ+1MTgs2slKw=; b=l0EOgqO1TLMlR0N23gv/AlBIlrCSl+2GjnrIdoD797B6z4j4JlTc2CCNVQPMcw31VoJGm7C4eUurzODJ9pHej6SW0jAXCKC953UEQN7nZcOBw2draZp2unxV0QzoJtcCUpenPlXTfw1loe7gjSoOJmE/iYTT1GUuQpjbCdacJTI= Received: from DU2P251CA0005.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:230::34) by PR3PR08MB5801.eurprd08.prod.outlook.com (2603:10a6:102:81::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.12; Thu, 16 Feb 2023 07:41:39 +0000 Received: from DBAEUR03FT007.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:230:cafe::b1) by DU2P251CA0005.outlook.office365.com (2603:10a6:10:230::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13 via Frontend Transport; Thu, 16 Feb 2023 07:41:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT007.mail.protection.outlook.com (100.127.142.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13 via Frontend Transport; Thu, 16 Feb 2023 07:41:39 +0000 Received: ("Tessian outbound 8038f0863a52:v132"); Thu, 16 Feb 2023 07:41:38 +0000 X-CR-MTA-TID: 64aa7808 Received: from f05cb69ae421.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BECEC8BE-5175-4BEC-8125-8A249D206675.1; Thu, 16 Feb 2023 07:41:33 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f05cb69ae421.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 16 Feb 2023 07:41:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eyuf74vlBAckLL+8rFoE0j6o2OZgSxW31D+z4KYegT9/pQWKsZGsD/aDsXB2/DejHNaEjjWOhqwKNLPkU8jABAbgXtqjI5wD1a7nqIuyyVjYi/3ReeMGC1ON1gRY8sGVAz449Kgc1PDwc8IKzTsqxbMKOzvJcPX2/mglZ74qKcsFlQ9FaG3IInX4YQLmT9eCEdH2a//qzZatZ9bCe6ZfrQN32nD36BT1pr8sbb2GFLesV0sU+VeKgV1u6Ks4Cs8khDjypigfVwXSqXnRMQ8Sq7rMg7EqzYagfL4UAiZOyXgr2qQAH61yLi+QveDyG+GQoAM07ZaffEn4y6/czGqJzg== 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=B7POau4XiHN4U+WEaleAwoMM1ML0lieZ+1MTgs2slKw=; b=TypufHt9+T9yjtMmFjmX5IaX8OEgl/vTXHgTCW0KVfyE/1Ph5Bi9s98jEnq3nsTYIdTLmbKe7cpI/RkIFrswlnpgQSmeisPwzC8r5oFXRMcmV9NHf/Uzh6MfWVHECRjVwHYujcOOLHTn0Nj/XNlu5zBN12GuJQ5OdD+qRyeHhAw//7GjLVVzp6KRFjZ8bM/IvOc6+Tobvk1NRwdq8pUhhvAtCsp6XrbqDMOTGOpeViiB+n2S8RMJQ3lwUGPzRrkgpcfl/LBYXQjQ+14ntDYpI24adTswR9HBWyks3MQy/c2KW4mCzM8h4BbbkqTG3o96FyaqlTPuzNzq+OpAcIIrFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B7POau4XiHN4U+WEaleAwoMM1ML0lieZ+1MTgs2slKw=; b=l0EOgqO1TLMlR0N23gv/AlBIlrCSl+2GjnrIdoD797B6z4j4JlTc2CCNVQPMcw31VoJGm7C4eUurzODJ9pHej6SW0jAXCKC953UEQN7nZcOBw2draZp2unxV0QzoJtcCUpenPlXTfw1loe7gjSoOJmE/iYTT1GUuQpjbCdacJTI= Received: from AS8PR08MB7080.eurprd08.prod.outlook.com (2603:10a6:20b:401::19) by AS8PR08MB7839.eurprd08.prod.outlook.com (2603:10a6:20b:52e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.23; Thu, 16 Feb 2023 07:41:30 +0000 Received: from AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::3e2c:a99c:db5b:601f]) by AS8PR08MB7080.eurprd08.prod.outlook.com ([fe80::3e2c:a99c:db5b:601f%5]) with mapi id 15.20.6111.013; Thu, 16 Feb 2023 07:41:30 +0000 From: Ruifeng Wang To: Tomasz Duszynski , "dev@dpdk.org" CC: "roretzla@linux.microsoft.com" , "bruce.richardson@intel.com" , "jerinj@marvell.com" , "mattias.ronnblom@ericsson.com" , "mb@smartsharesystems.com" , "thomas@monjalon.net" , "zhoumin@loongson.cn" , "david.marchand@redhat.com" , nd Subject: RE: [PATCH v10 2/4] pmu: support reading ARM PMU events in runtime Thread-Topic: [PATCH v10 2/4] pmu: support reading ARM PMU events in runtime Thread-Index: AQHZP57hQEpcUyGi9UqmBZk+/S/Coa7RNKjg Date: Thu, 16 Feb 2023 07:41:30 +0000 Message-ID: References: <20230202124951.2915770-1-tduszynski@marvell.com> <20230213113156.385482-1-tduszynski@marvell.com> <20230213113156.385482-3-tduszynski@marvell.com> In-Reply-To: <20230213113156.385482-3-tduszynski@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 25D11FC97BBDA742951F86CA58FA10FC.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB7080:EE_|AS8PR08MB7839:EE_|DBAEUR03FT007:EE_|PR3PR08MB5801:EE_ X-MS-Office365-Filtering-Correlation-Id: 64e62ab0-ff51-4cb3-bc8c-08db0ff13d21 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 4KhrTDMtMbv3DUdkvai8Zud6tLtD05L/JLpMzBJBr7Vzzg3UX6u4aMdbZyINYifv10uGVh37j9nzE58hp9ig6mHrI1Tl+gTn16Ya9T98/3EqqAijLxDvnyoIY/6LKZVcpg3KqbyWY0XqoDXL0436FNDB771TmOxh5hBNMVvFMdipHqRHrkbzCoQEqVXnQVrHkObuUHm2DDsWeYIciQfoT7cUMUVYYul7Do5hW419O6hYFm7qBZ+tRhObGYhTJdiMBEkDzGOQ1u1ud0vVlczw/GFH+wjIJ/X1h0j0S1GXMp3VIgEJxJ8QiloGfsvL3pnCitE+qGd1jGId2tDfF+efFlRujqnu0cEBS579KIstWK8aspXNW1i2sRq+/A6cjm8E9Y8YC5S+gIMK9VZgAgpfTV/AHCV6WOl0zs80cPQDiwpf2jY1FXUWd2cV+o9fuHmtkWmDHIy2/Ivh8OcJJTyoOiSm5d2vrbSD0cblZs6nd/qFtKGX+9OY0ugPJ7PQ3KRc/q7uLohOYfCyjfJYkt1/4zkPoJl2KuviAFGtRNv/LIn+u4A31Hk65iJswDbhNbq7Xyk9tbZXbed0dN1CdPF0WHZGHe6gAv9NSjGcf0wX0FPkP6ZlE8OWvm7oWbZBvVWcxb39yBzCA6KmyXbz4B7SUyBr6cRPkijQ3fsEA0QXS2KScSQ+Yin3JK75pFTJuKuJvpLaAsYWjd2dYE+Q8rmjWg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB7080.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(136003)(376002)(39860400002)(346002)(396003)(366004)(451199018)(9686003)(55016003)(7696005)(478600001)(86362001)(83380400001)(33656002)(38100700002)(38070700005)(122000001)(53546011)(26005)(186003)(6506007)(54906003)(110136005)(8676002)(64756008)(66946007)(316002)(4744005)(7416002)(5660300002)(66446008)(66476007)(41300700001)(66556008)(52536014)(4326008)(76116006)(71200400001)(2906002)(8936002); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7839 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 3648dfcd-4386-43fd-5e94-08db0ff1382e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hr14EiZgqcBR93FpmimQAfTpsNG/0YNGVqyr/wCzaQjIcnuDS9EVoW3xq+UMb1PGSycfjmbxAQqzFHWxcq9y9Af0qTcjnA3rieCDwJQF/jnlzQFMIl6TsJu+EBJEXAR+bYwsir5SZfMKgrzdO+U/Yj/HcC+/ThaJ/NRQAUyiOvBppt71MWlpu4Y8RYrCzOSayDR+V4hfx13YlAzDvQCPWFwBdcLf/lXDVSY7U4fWlzl1XczzQaMadg430efj4Yq8pnkDGftx55jhPpe9xoxYr6QS7i72q+KmkNZ4v0/uM5iQ4G5Frl/nsTYpUyfuJrI3BQzUsU/BBd1s6pFwIELBw0li7lS3w276m2NzvjvlWfzTw6x9LtSEOyHpif7UuNMu21ytKce+NZLkse+gQAIBYGn1SLR69c4vH1ll0VuM86KqtrnDW9TbuTQnsHYtwQurb+R3vBqFnekd118wgKIxSbLdHXdEyPsMYQs1gbfzr0F4UO/Qb/qstshd01bIYB5g5L4GRp5DM+Emn6pIY87d+W0P/CVbN5g26re7Z1mwMwSsfYIsqZ9R8Gvy53W01GLL7eOp6JjRs3++Xiy/XHakXpc0kZ8sVYm6NPTSR5Www+LmNbaXoK+Tp/aQrXb/lIn4kUWx/azO9wTx7e1gBrMAXwJKsNqOjJhSrmVqpVUJmAJKddBPsqcnQASvDqIxomxmXSrnw6BTfhMdDYNMwTV2wQ== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230025)(4636009)(376002)(346002)(39860400002)(396003)(136003)(451199018)(46966006)(40470700004)(36840700001)(33656002)(40460700003)(86362001)(9686003)(316002)(7696005)(110136005)(54906003)(478600001)(8936002)(70586007)(2906002)(70206006)(52536014)(8676002)(4326008)(82740400003)(55016003)(41300700001)(5660300002)(81166007)(36860700001)(40480700001)(356005)(186003)(26005)(53546011)(6506007)(83380400001)(47076005)(336012)(82310400005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2023 07:41:39.0057 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64e62ab0-ff51-4cb3-bc8c-08db0ff13d21 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5801 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.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