Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2541672lqb; Tue, 28 May 2024 03:16:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAKLqQcCXl3yfqmfTPPJ364KIYKh/KPoe8kJqaytQLBHR0VURAbEO8Gy3t4IGxCVclTrSNKNbCDrue5iDPIUtkVzMFNyw7UVwCMDMGaw== X-Google-Smtp-Source: AGHT+IFaezPgMJzlvkwB9gC8mRjBlJa3zihmwwkGb/tpA3mKQEmw0cqTBa0ViA2nX/U48umwx49j X-Received: by 2002:a05:6a21:3409:b0:1b0:3698:3d4 with SMTP id adf61e73a8af0-1b212d3a833mr11797190637.28.1716891370413; Tue, 28 May 2024 03:16:10 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-68221c6aafesi7781223a12.112.2024.05.28.03.16.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:16:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=neutral (bad format) header.i=@oracle.com; dkim=neutral (body hash did not verify) header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=b+kpb4bt; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-192066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9642CB253E1 for ; Tue, 28 May 2024 10:02:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D09216B721; Tue, 28 May 2024 10:01:40 +0000 (UTC) Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A955516ABC0; Tue, 28 May 2024 10:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890499; cv=fail; b=Nus93iF60DooRf2I+whkSKkSErTJRsipAVf+adjrPoKyRIcwAaUEIeswe6sMsS3+Qa9Wbs8+TQabD5S+OK6T6UcEKs9OG8PtCR/wQmG5Y9JHhtrv7uxjjQshvn9jMcd5dXyvwotX4EVzoDwQFTT3IboNNxNzyYayi+jaX016YsY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890499; c=relaxed/simple; bh=tEsStf9iHiiNkQZ6cel32RGhuQRh8Py5cjt14qqclCA=; h=Message-ID:Date:Subject:To:References:From:In-Reply-To: Content-Type:MIME-Version; b=QG4IKrywSXSBs6irlvruw0ffDpxh9QXB3qSEhGPI6HuDAEPmr9ien4Logn6VtgY/PK0TTfUUbah/6/iDqQ15sl+0wEmSIVuTkUWypjbVgVwtR4/pcJvt1Mkjys9oBP95lpzKMLAsG7Y1fKO78+pjtSSBIiJMMs40SbV/hD28LzM= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44S7woNS021764; Tue, 28 May 2024 10:00:56 GMT DKIM-Signature: =?UTF-8?Q?v=3D1;_a=3Drsa-sha256;_c=3Drelaxed/relaxed;_d=3Doracle.com;_h?= =?UTF-8?Q?=3Dcontent-transfer-encoding:content-type:date:from:in-reply-to?= =?UTF-8?Q?:message-id:mime-version:references:subject:to;_s=3Dcorp-2023-1?= =?UTF-8?Q?1-20;_bh=3DYZl4d8S4x/rI6jROfZyXyTBiAbDuS2OmgigIMgqDaw4=3D;_b=3D?= =?UTF-8?Q?WJIq01AlBMoy519eASxpKaOIfluqXhoMYVZiVK0M1jUbYZe9fbbcNLL7+OLUeBG?= =?UTF-8?Q?NBv7w_ZwWOF91SAClEBiPYVUnUT68w8I2BQTXmXPpmpH01Ig1EFumQLxmfqalo3?= =?UTF-8?Q?nUA7R9PpsaY_ZVw8jJ0BjBwrFStB0wE/JOswtXbfR6wZppa5STSld6+Z4SVEA+r?= =?UTF-8?Q?0HZLVAuH6Vi8jO9y3_CaNscOG8J/D+PpiYClMHZgiROCjhBZXcrwxXVPxY8s1Hx?= =?UTF-8?Q?gi2Z10DX4NPJlvoWzzg2k88_5uJwE9VaY7vI4RNlqbFPrLnTekZmTk/ngCaVlqq?= =?UTF-8?Q?Wl/s3zT2p+AddfJJkk/wf2m2RJXtQ_qA=3D=3D_?= Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yb8fcbx8s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 May 2024 10:00:56 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 44S82FRr025822; Tue, 28 May 2024 10:00:55 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3yc50pms7h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 May 2024 10:00:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XeOPjVVVLqeMJ6g5JM2a7HOnJIov7doF/k2z7x+HYsKku5eWsHLLGiTURk+ys2VtkytvgEmzoxWC3oizf8caUgjqUdJ2lr6J449uAY4CKtGhGZc+S9BHEQG7Fn0dkfCzNFnYV7cHxaYrX2SEclLqfRDaq93Ge3DIsSm0XhYVRLtl9hKmzzw32mGdE57qUgQSD7j9Ml8isslTGc9K2dL3Wqb2iisYOrUW5ky3V5APSgpuINKyRUuVKbtINRWArDK5tRwDF7dfz49ebDJs8F2R+E+poIP3Fpx9KKa6QcdL52obHRjeGzIlZG3I2cxxowp1By7HebpJa4M8k1K82IdHEA== 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=YZl4d8S4x/rI6jROfZyXyTBiAbDuS2OmgigIMgqDaw4=; b=Znuj1+DK/JEo3p7wcUcSFKvwchCmYn1X1W4ZjW+qwYXJfXnTHWXYvjx4I6Bm/8F8Vk7gMtS4bJaF/kXWo4zueD/Ights5p7CrZFnkaI0vUUTWMDQW+gn/28VO1DyMVRocJ5W9Bg0eyK0NvP9ekejo5YVnq33ZU/oosmN6eEQhxIF5KL0NBBcYFdi8nznWyFy7WcpBPQ71KIprJvs5Ihqz4Lt4/e6X+Asr2PsW1X9tBWcJ3fFE9M+kVkR3m45ukxa7XwMIMK1j5OHvCcZRXoR/5TeL3m8286NSxagl8R04cD2Y6LbED9Lb8yTLHywU0XjkcIr/GyTK/aMapxYa6uL+A== 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=YZl4d8S4x/rI6jROfZyXyTBiAbDuS2OmgigIMgqDaw4=; b=b+kpb4btK3ujCii/81W7ZkbgeGVx0tvCZrCM5ddyCIaq8TFwqGl4aYrB8YFDzcWMY0uGcarVjvHoCGoc+E3K2Fmtn+mR+Rb+AOB/m59S3R3BAwOwLcjFM3xpi/pBSJTqIsHR0Vggd6O40HYxXq2C6A2CVr73C7u7XzxmEKT4j68= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by IA3PR10MB8113.namprd10.prod.outlook.com (2603:10b6:208:50a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.30; Tue, 28 May 2024 10:00:53 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088%5]) with mapi id 15.20.7611.030; Tue, 28 May 2024 10:00:53 +0000 Message-ID: Date: Tue, 28 May 2024 11:00:47 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/2] perf jevents: Autogenerate empty-pmu-events.c To: Ian Rogers , Weilin Wang , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kan Liang , Jing Zhang , Sandipan Das , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240525013021.436430-1-irogers@google.com> <20240525013021.436430-2-irogers@google.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <20240525013021.436430-2-irogers@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AS4P189CA0045.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5dd::17) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|IA3PR10MB8113:EE_ X-MS-Office365-Filtering-Correlation-Id: 99a07f07-4fbd-4341-dc53-08dc7efd0f4f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|376005|366007|1800799015|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?B?eWFHVnRnQVUwd2hQdEhXYW52R0tldHk0a09ueTRyVm5ER3VrSFdrM3gvbGJa?= =?utf-8?B?WTgrZzl1TllyT0tNT2NGeWVaSGhaQ1NlZE12cUtlcTZ2ZjVLYnJ1SmRnclJn?= =?utf-8?B?NXhGS3RuQ0QrcnpnWFFNOE5vUFhseGpjbHo3RitLdVppY3NqSGNIQ2NacWd1?= =?utf-8?B?OHFwWE1vY3hiNmg3U09pNG43Y2ZQamY5aTQ2M1ZjbjZxL3oxRUl4VlNKVUxr?= =?utf-8?B?TEt1UTJxb2dzMXV6ODh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FOVm14YVZ3azBXNW50SitITjlkS0NyaW9UWTdsVWkvdjMrZmUy?= =?utf-8?B?T2YvaFZhaWgyT1lDQUI2NjMvWlZMQ0JUTEI0MDcva2NJS0ZYSGQ3U3NrbTls?= =?utf-8?B?M1VnVzE2ZklEWFFmKzdVckZYY0V3a1YvVytoOHRjNHdjekVwZDJaR2l5Y095?= =?utf-8?B?dGNQV3IxTGgvT3FmWHBmc2ZMU3h0THRuRlQzUkVBazlVbjhSRVRhaEpuU0Rl?= =?utf-8?B?Vkh0Y2NOcEV3RndaVXZaY3I1T2ptTzd1RkNPM0E0NVFJSlBadVREY3VEMU1H?= =?utf-8?B?N1NjU2RVMWxvenJrUWhTU1NIQll5SzhBa2EyeE9wclFUSTFuVzdCOVMwMWpr?= =?utf-8?B?RXVtMUVIMnZTd1FvOXhWcklKVzlkT2szTHhmNkxYZmhQYnd2blhBRk1tdi9N?= =?utf-8?B?V1QwSXFKbUJqMTIxZVhOWTIxZ1VDOEpjeHUxUFVMSjB4YTkyOTR1azcvYUVy?= =?utf-8?B?NDAxdDYrQXlTbmxVWEpTaFdVV29NT01zZ2wrOTRaREg3VHd5TnpWYzVNOVhp?= =?utf-8?B?dGdkRm5PMzEzN3RUL3BkOGl5ejNaZmRZOEREWHlpYXdwcnJYa1Uzc2xwRHpR?= =?utf-8?Q?QhaFwcNxYnPrSzG3nVVNMbVBUExvd73TmuzYCvq?= 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:(13230031)(7416005)(376005)(366007)(1800799015)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q2NZdzJPZG1xeVpnMFI2S2RvUzRwMng2ZnpzelRhSkFGYUYxZGovdjBFRFRi?= =?utf-8?B?T3R3bWpHckht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50MSvo1YTPdmx8QVfJD0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99a07f07-4fbd-4341-dc53-08dc7efd0f4f X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 10:00:53.0617 (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: Jxrd07xPMp0v/2ebgSLjbVFFhcWmXFm6VWiICFL+TYqJC5TQfWe/wQzvMGBGHP5SMzi7OxRWX3sBo5wdcIKdJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA3PR10MB8113 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-28_06,2024-05-28_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 suspectscore=0 adultscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405280074 X-Proofpoint-GUID: Ez19oqLybNVDQgjbMMn8TtgiHwE6vA5G X-Proofpoint-ORIG-GUID: Ez19oqLybNVDQgjbMMn8TtgiHwE6vA5G On 25/05/2024 02:30, Ian Rogers wrote: > empty-pmu-events.c exists so that builds may occur without python > being installed on a system. > Manually updating empty-pmu-events.c to > be in sync with jevents.py is a pain, let's use jevents.py to generate > empty-pmu-events.c. > > 1) change jevents.py so that an arch and model of none cause > generation of a pmu-events.c without any json. Add a SPDX and > autogenerated warning to the start of the file. > > 2) change Build so that if a generated pmu-events.c for arch none and > model none doesn't match empty-pmu-events.c the build fails with a > cat of the differences. Update Makefile.perf to clean up the files > used for this. > > 3) update empty-pmu-events.c to match the output of jevents.py with > arch and mode of none. > > Signed-off-by: Ian Rogers Reviewed-by: John Garry > --- > tools/perf/Makefile.perf | 2 + > tools/perf/pmu-events/Build | 12 +- > tools/perf/pmu-events/empty-pmu-events.c | 894 ++++++++++++++--------- > tools/perf/pmu-events/jevents.py | 6 +- > 4 files changed, 562 insertions(+), 352 deletions(-) > > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.per .. > - }, > +struct pmu_table_entry { > + const struct compact_pmu_event *entries; > + uint32_t num_entries; > + struct compact_pmu_event pmu_name; > +}; > + > +static const char *const big_c_string = > +/* offset=0 */ "default_core\000" > +/* offset=13 */ "bp_l1_btb_correct\000branch\000L1 BTB Correction\000event=0x8a\000\00000\000\000" > +/* offset=72 */ "bp_l2_btb_correct\000branch\000L2 BTB Correction\000event=0x8b\000\00000\000\000" Please remind me: how to figure out this number when adding a new entry? > +/* offset=131 */ "l3_cache_rd\000cache\000L3 cache access, read\000event=0x40\000\00000\000Attributable Level 3 cache access, read\000"