Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp648627rwb; Fri, 13 Jan 2023 02:25:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXubYsKs+AnxzZEufItu8vyLl29aigSJP15cGeqav1KQcw47NIC09qIrF3rBDYGrY2g9vLyv X-Received: by 2002:a05:6402:5407:b0:47e:d7ea:d980 with SMTP id ev7-20020a056402540700b0047ed7ead980mr65167785edb.14.1673605530845; Fri, 13 Jan 2023 02:25:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673605530; cv=pass; d=google.com; s=arc-20160816; b=u12kL5nFqM2eFypbDP0yKjw3UACe1Vi8L0iVknPjzVEZdJ7dATyrphaOgu2mAOOJ+M lOVkCSnodyBM+m33QJRLAYn+tVmExBhEO0OVzLVnJ2+YCBhMypj2CctKoBVmqbhLbb+8 87UT6u+oAGLsWk2BXLEDcsc9sUKQVu8EKBTDZVah/s/9HI+TtvrGgPS7fAvSI+yNx36F HLXrPIa9tg3KsCtT6Cl0kOIUrgCJTxirheD1QFw/mYtieJ89Su0yg2HS/Kkv7EKr95ei y6fg5t+YJ5ba0QTw/dZEJ/A1dYTgrY6w5tcYQL1z98apw8JloN1q0CUavH8c4XnmE5Rb J//g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:organization:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature:dkim-signature; bh=mt+cRANZZZFxUu76bt7nDaeIvLdnmdUEA94LGK42yGY=; b=mmp2XjNmZfZ47tSMzhNk2RznqvvK//p8tC7paD3+mr6qm+eJBxb/9lgiAC/Kve8+dc onkEsgpzqEm5C0IqrfaYeYrJClOLtfhsdiauer970n3WjGuT+jh1BRVnJD/eq4UauTE4 9uJ0o2v5QxD4mV51GvI2Mxb1KuvmI86JZ140J41f/cxBSUOa2/YQbZAzY369rd4vMtEe ZhiSKSnNxNVZNocwnmnQo9aoad3VhL+93YeALw+Lotx2ZZHbCnLPNssBtEblsq/vWW2H 0mmdim9+RW1ahV2YrPGq/HnTEQpcqkqy3jhlOVx4oZTjaysQKLtZpsQx+0T3PHq1ub1t lTHQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=qNR5N0O9; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ZzIYRyVl; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id er18-20020a056402449200b004971b435d43si18830102edb.82.2023.01.13.02.25.18; Fri, 13 Jan 2023 02:25:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=qNR5N0O9; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ZzIYRyVl; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239173AbjAMKCb (ORCPT + 51 others); Fri, 13 Jan 2023 05:02:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240780AbjAMKBa (ORCPT ); Fri, 13 Jan 2023 05:01:30 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DB191158; Fri, 13 Jan 2023 01:59:46 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30D9kal3009800; Fri, 13 Jan 2023 09:59:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2022-7-12; bh=mt+cRANZZZFxUu76bt7nDaeIvLdnmdUEA94LGK42yGY=; b=qNR5N0O9E33y2MGSWg7O/vOMA4YhhP8dkIJfIOYf3w016z6DPpJMUYsCCy/KGeaAgfCM zwEp3ontS+K6LSV5jJIHfJ8t5vx8x02ZPWFB8oos1IPjzqH0KGF98xFIsXS/1/Iq8Rf7 VRNohtJyu1QccJdsuGS7O0xm+4bVQQTY33cV/DTfpN4YWnPi1nkVSVdyghrP5FOVLRjC MYuF0zFD0kLuPY0zdQ5DbsFF+PLy4EVl8g0gp2of7lcMp74K4ru1Az6JAIpQpWwdqPaH wLrzsWWfvI/7v/tWDpAOaPfC6d7mT84LBTqEVZ4I4n8LdbNkTpLkOAXxkz3pWnLBD7HJ fQ== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3n33spg56h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Jan 2023 09:59:18 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 30D8dRBH018636; Fri, 13 Jan 2023 09:59:17 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2173.outbound.protection.outlook.com [104.47.73.173]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3n1k4gfbse-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 Jan 2023 09:59:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nzTPoGHbTc/ol7Sa3YwdNBqbthO9ayrnOLv1oZkXbnz/hna64LWluS8zgUOihF6Lh2qYEnBvXikLKG56WotoTtOiGclJZ/aYV9P7P7dO0UdX1TaZfwVkH9C4p5pa5y4oQYAvFG9HBb+805zRc47pE8J5hz4x9EDFDnjGbXhcUiP2DgzB4Bol3TQDjmRd7w+WND1C7NtTolTMumzTAJFTtO8cdy0eZBrtQVYTQA1bIysrKY1fb0F4d0hpXJFw5Xpzfxkh8qIVqBv+CTk0JGYDfoNlSr8BRORlliBwccmEJtTjG2JFPxHAdeQqcRclR7wxwKUpvQXlEgHgn+39KDnJQg== 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=mt+cRANZZZFxUu76bt7nDaeIvLdnmdUEA94LGK42yGY=; b=T9Pl1fSEBHabBnD9ScpmujcJZL7t19Bgci9SZJx46/ULMJ3pPOCxr+NW8DQDbLCYUDyjIzFSJ/MaVV6DQOAFWvTOpwXtd2t2mJw7yx/cokI/Qab/Ey2X477/pOnlhXxewCWjkf/cLzDyTG+DnTyv9+jBrBRSW0swdvNZQEWJeiy7S1jq+hfb38tI/ktdRkpEROMijZcozrPedyBFXNe0hX6zf9UbWgJnXMufa/ENV7f8sQRS8c/shWi3ir1GqKSsefkxU5pSdv58xXh/kKMdLSWwTiEP+lcznptcYreluHsMUTLI1V8pNptlzIvZz/t4KFDlrrfWSdJnWDj7lWdgOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mt+cRANZZZFxUu76bt7nDaeIvLdnmdUEA94LGK42yGY=; b=ZzIYRyVltETjth3nhiLZivFfGd8vurRRPxvLvRZ3pXEzl6h7ovqp0JHSQI0uBF92fxXS54H+qqQfqBfZsoD0yP6FMomV2iPAOwv5CHBzNAFpQxsTQ2853WzeTkZLi8nTUAoc2xZmLurPyx1H1+bOj4KHDC9qC6xoAGqfVznguCc= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by CH0PR10MB5001.namprd10.prod.outlook.com (2603:10b6:610:c2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 09:59:15 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::1040:f0e3:c129:cff]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::1040:f0e3:c129:cff%8]) with mapi id 15.20.6002.013; Fri, 13 Jan 2023 09:59:15 +0000 Message-ID: Date: Fri, 13 Jan 2023 09:59:08 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v7 0/9] Add metrics for neoverse-n2-v2 Content-Language: en-US To: Jing Zhang , Ian Rogers Cc: Xing Zhengjun , Will Deacon , James Clark , Mike Leach , Leo Yan , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Andrew Kilroy , Shuai Xue , Zhuo Song References: <1673601740-122788-1-git-send-email-renyu.zj@linux.alibaba.com> From: John Garry Organization: Oracle Corporation In-Reply-To: <1673601740-122788-1-git-send-email-renyu.zj@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0180.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a::24) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|CH0PR10MB5001:EE_ X-MS-Office365-Filtering-Correlation-Id: 3de03210-9e18-4dd6-0e21-08daf54cd3d7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: uuPGXUKmMg72Yns0/yF5yqg4XxHwoCSE6uNW9g1iErjdxj7IY5VnZVuJELkwhzWNrrYdSv15wM8uyN0a+Nx+sHKpEaakC0b+A+ZWv+21QBoLo4D04jKu0ksau4FM4g+glJ7v7hvSXOtRqPHI8Q0MUclFXg/OyJnzsbim2HsNwo6koBZ3SBkqauEbtL6QsUyI14AlfbbZaULWT0NPOMY4UZwHodqlNbE40z3iit9+jiV7MW/zGNFZkso80+sZ8f9iRi8t7eq3UF/kP6gN4FuZ7WM5rYOgEkctXEmhw/7ytaoFLBgEV0G/qPElTieIYyaAjSOGMiflpOkTjtOjTjV/IpMFRqjMNutVbNBV0epIotkrUsatHQaKtUnfj61jTK3lNX2InNeaMIPOox8lif7cyjiInAb0fq7xXFL9kj3wFR60oAPJvhciS5Yyrhf1lLmpv3yoxcqdwT/6wSItZqMmFb8VputyeazLmzY4u+LMUvJA53rNhnL0ThhpXjH1GROxl1PmEBhOyz0jEAMPrQJcBOfg1uCQq4jp+jquU3PqpupnL70BDR1AWRpkg2nv8riMi1GKvUyvi23B3LIC53OGfmhYdAJjDsukhzIEY3mAv8RFK3Hb/oDJWSDm0yNDL8Y/lR7Cq3E5WRns/JwRhca9FwWVClVEz2oSjPefpSaEoo4etCVlO4aLhG/D1Ryi7FjuyN6jpxPfK5BikjGUYRfYqfuc628iSG4OdesNb7atGAtALbh1ijXO0uJ44N29/3fI X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(136003)(346002)(376002)(366004)(39860400002)(396003)(451199015)(6506007)(36756003)(6666004)(26005)(186003)(53546011)(6512007)(6486002)(478600001)(36916002)(38100700002)(31696002)(86362001)(2616005)(7416002)(8936002)(5660300002)(31686004)(2906002)(66946007)(66556008)(316002)(4326008)(66476007)(8676002)(110136005)(54906003)(41300700001)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aU91Nnkrd2tQdjc2VGxKMG1CVXFtZGtLYXY0b3F3OEd2a1B1eFBpb3hEV2Ro?= =?utf-8?B?Q2VScE5USnpvTVlHQ1RGc0FwNEFGTURGVy9Zc2tNd2hPQUtWdkdkVG5BUi9v?= =?utf-8?B?OENtb2swbDBOcjFrZ3pmR3VsYVYrUHBnZW16WlRlZ0g1ZE44MTU1Y0NzZGt2?= =?utf-8?B?dE9MTDBmZzF0cnJCajVuQzZmWXVEVW1hTTRuSTZsVHNacmhDRjNGdEJC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313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jan 2023 09:59:14.9219 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PqG/YbkSDtOf9Sa8HwqlzgxqjgxJScNZPp6emg4NCwrv2kJ4QPL+48zHzD60TW9hBu5hu6DsPziolZtOcQYBTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5001 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-13_04,2023-01-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301130068 X-Proofpoint-GUID: 6yPOKX8d8cWOLMrE9FDAC9_cS7x5q7mE X-Proofpoint-ORIG-GUID: 6yPOKX8d8cWOLMrE9FDAC9_cS7x5q7mE X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/01/2023 09:22, Jing Zhang wrote: > Changes since v6: > - Split patch #1 into 3 smaller patches as suggested by Ian. > - Change perf_pmu__get_slots into perf_pmu__cpu_slots_per_cycle, > per John's suggestion; > - Return NAN instead of 0 in perf_pmu__cpu_slots_per_cycle weak > function, per John's suggestion; > - Factor out pmu_core__find_same function, per John's suggestion. > - Link:https://urldefense.com/v3/__https://lore.kernel.org/all/1673017529-1429208-1-git-send-email-renyu.zj@linux.alibaba.com/__;!!ACWV5N9M2RV99hQ!LhBq67uDCOsz1k7ZF4aQPHF0Bp8FsMr-ZNgCnBSUKF4qJTFODfnkId7lw_NXqB4qZUCpu-jbY8z8LTckoqFGz2Q8bA$ This looks fine. But for this code: On 13/01/2023 09:22, Jing Zhang wrote: > +double perf_pmu__cpu_slots_per_cycle(void) > +{ > + char path[PATH_MAX]; > + unsigned long long slots = 0; I would prefer if this returned NAN (and not 0) for when we can't find a pmu or the value from ./caps/slots is zero, but I am not going to get too hung up on that. For series: Reviewed-by: John Garry