Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4179401rdh; Tue, 28 Nov 2023 14:15:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvYzoFTAe88IKVQwFFDN1f/hohzMbQ6Gk+uoOzxkJhK2ze1TUFFjNOx4dZ6QoJQp3SEJGg X-Received: by 2002:a05:6a00:1954:b0:6cb:a1a7:ebcb with SMTP id s20-20020a056a00195400b006cba1a7ebcbmr18550101pfk.24.1701209755133; Tue, 28 Nov 2023 14:15:55 -0800 (PST) Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u27-20020a056a00099b00b006c339c0cc08si13200676pfg.196.2023.11.28.14.15.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 14:15:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TlyHTDOg; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 71BC780A90D6; Tue, 28 Nov 2023 14:15:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346653AbjK1WPU (ORCPT + 99 others); Tue, 28 Nov 2023 17:15:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346642AbjK1WPQ (ORCPT ); Tue, 28 Nov 2023 17:15:16 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E9011BE; Tue, 28 Nov 2023 14:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701209723; x=1732745723; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=tMacmSBu2jFWlswn39zintiYY6vUj2Rux6dd0vEu98o=; b=TlyHTDOgIApTLCLoJ13v8JPp8oPSt62Jvqyk+s2nZlMocRlz/+93WivF LIb4rhS1CER3m0pz+ilEuTRqt5+5V15pky4srB7wXtvSfCdmjOtMcPd8F sbpCwtsKn3Tiw6ZvZ81XpIiAHbrEdd1a6BRKdEgteQ4NTSGasveO7VJzG NMECbqj7zyCszD7WpUE+JNlHxCeyjDwIWLvonDH4i2K3VQU0AxL9UQxmd dMKmqPRbHCzNw3kuSIqMBmqFz+tqeCTESBe1zZPMUxep+giwZVlLkkc6Q UCa8bLXPLQZB5wQUf5mv7Y3lh0mQ7RUtX2R70wMb2jinYxWLUbghDtgSJ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="479234732" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="479234732" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 14:15:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="16770072" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 28 Nov 2023 14:15:22 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Tue, 28 Nov 2023 14:15:21 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Tue, 28 Nov 2023 14:15:21 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Tue, 28 Nov 2023 14:15:21 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HreJJTeXydJKw6erzeXaYaJgnjXsueXJgs97cEb9vc2dSGIJTtFZuJTvOE/rqQ/PlKln+qjRPpK30UafB8xnfCU++0OGNi1TEJaxvfmqTEWMwx2P/pgXzPHmxKyhZUkx4krQJUbZnxv4ibsunFnlHyuig9bf+vi9DtnXCCBpFdypM7jIv+NVcnAuhr2ack6IbDLxfP2NRALtdcihj0cj3+RXtD59HfVOmd4tjmecXC04B0Z7HP2amYjkopXLE1C+pC6uy1vli1NdPIIHBIGsw1OMMkQCO/5z1L+JmHyXTYinVTeZzLLv1X7iAVmIJsMeQ31sD/wBklLftxNos2o65g== 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=sTj5ZLJtJrAXbCdu5UWpzRZe4+hD4UBAHaECWWZ+PII=; b=e6YfOVCDu/gYc4DjXxBywl+aS4bkCYK9Su3S9Ix8HzK+uP2oZ0a9dh3YDtPcu/82M9P08hA/Im6jqLH+6ubXVD02m9aqIEoponFVL88GcbK71J1nGhHB1hbISq/VYbci55xi8Pg7LR44LOd/CHzCDtf3yJPClELv35YckQocBOu6/Awqw9ioH5Ph0m+10dATBpvgLeRXq0GD6v9vD+vPEb1LjQ2jHd8mw+SZgsQvTP9pfeP2ef2AKjJ1Dw7C0YfbLDj/9Xkx7pTDuG6h2pgnraixf9T2ZVfTxSlCMoSWqNgiVsnC52/BTy/HvqifTJ8+m1HKHdxstdiLohBfPH4atg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) by SA3PR11MB8024.namprd11.prod.outlook.com (2603:10b6:806:300::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov 2023 22:15:19 +0000 Received: from SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::6710:537d:b74:f1e5]) by SJ2PR11MB7573.namprd11.prod.outlook.com ([fe80::6710:537d:b74:f1e5%5]) with mapi id 15.20.7025.022; Tue, 28 Nov 2023 22:15:19 +0000 Message-ID: <374da220-80d1-4d65-ab29-c92258d977af@intel.com> Date: Tue, 28 Nov 2023 14:15:18 -0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 12/26] selftests/resctrl: Consolidate naming of perf event related things Content-Language: en-US To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , , Shuah Khan , "Shaopeng Tan" , =?UTF-8?Q?Maciej_Wiecz=C3=B3r-Retman?= , Fenghua Yu CC: References: <20231120111340.7805-1-ilpo.jarvinen@linux.intel.com> <20231120111340.7805-13-ilpo.jarvinen@linux.intel.com> From: Reinette Chatre In-Reply-To: <20231120111340.7805-13-ilpo.jarvinen@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: MW4PR04CA0192.namprd04.prod.outlook.com (2603:10b6:303:86::17) To SJ2PR11MB7573.namprd11.prod.outlook.com (2603:10b6:a03:4d2::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR11MB7573:EE_|SA3PR11MB8024:EE_ X-MS-Office365-Filtering-Correlation-Id: d83c6bde-af65-4104-91de-08dbf05f819a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5kbywzPWtvqqKljvFcpHPjk/BzJPp6hU8hP3vFBrxXODJXIh16n3TmOCql7GHL7m1fJ6QfpOeUqW7pwej1C+1l/VCL+54+jrqn6hx6K37AxlISkCoPWG5/cxfr/7S3PsEBtjHaTz9CLQntqD1O7IXtmsZC06Npzgjxc32Dz7MjgX05LteYJgFuvy/y9iIX6Tsq5mfUk1MFcwpR9pHxQV+jr1e3H2Az5KXcskutEF/J7bEjO4Ds15avC/iRCy+STf81w7HjAMpfllWwjLXVmwjaOG2r+qHkVW75TfQYbzCt2HjYjxGwQx6Jsh+TC0ixdVuSbQEpaQ/P11S2cLCVgMORseYhbagNUXm79KHZsjwCQZeEfGSmTvyK22uMqSR+Rgk72eXWX1u/2/Y5S4zsh+1L/jaY1jtfqw5wW12IRu+kCM/bzN0KwlIziml/AvsLLQZJrpS4NwB65PE8wkaVKEPY9yE7AHFSzvlsW6bxnqdq6d10evvaBKsVjG48g0m9t3bViXW4pc02coniX6bTSY3crSovsDJwEhn+aHDKd0PEIW5POj8xBT4NI19BCtzxC8PUlDCreyfU7dGz8TMJ01r/N8IUE7OjMra5dTkqieV+KCJUs+aJAerx3eliiJbwLVvvw+aT8KkktD3+cJL19/Tw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ2PR11MB7573.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(396003)(39860400002)(136003)(376002)(346002)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(38100700002)(41300700001)(36756003)(31686004)(4744005)(83380400001)(5660300002)(82960400001)(26005)(86362001)(2616005)(2906002)(44832011)(6512007)(6506007)(53546011)(8936002)(4326008)(31696002)(8676002)(6486002)(478600001)(316002)(66476007)(66556008)(66946007)(110136005)(6636002)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T3VRNnJSLzBBR1dzc1l6dm1QZ2k2bVVpT3RwYUpwRjBGV0V3R0RtWGpFeldj?= =?utf-8?B?YTlnMGszaEJsc0g5dFdlaVpIc1A2azlDbnFZRTlvTmpZNkxPTHlBbmVwT21N?= =?utf-8?B?R1NKY2NQREZ2YVJBUGlPZVhJdGF2NmtMZzlVZ2R2QnkzZGQ2bFZzZCtOZWx4?= =?utf-8?B?dDlXcFcrUWFJS251enpYb3AzUUl6bmx4MGFXUmFxV2NzWFpLUFU5YU50ZW9E?= =?utf-8?B?bkRiMDkrZFJLbDMvSkNuZ3NHVXhFNjdYVmwwWTZ4bzlvbk5FRmp4Z3JIUTZB?= =?utf-8?B?aStYVnlkZmpLY2svUGFEeFQxVEd3ZXBUZkJabHlsMUNIamJmekE0RGZiNDhW?= =?utf-8?B?ckZNcGpneVdtMnRpbVNnWFVWeDhYTHVpeU5MeFp5bXJJYjRBVjdwRHFmcCs5?= =?utf-8?B?VE1rOGQybkNvZU9qSldQTE92MDV6SG5iZ3Z1aHQ1WkNmc2pIdjlwZkhWYnJr?= =?utf-8?B?RzFZdFEveVo3M3BrdHBCK0I4MUVFUVpUYitsL2dmM2M4WHVyODVmZjBsWFR2?= =?utf-8?B?WlRSNCtqQWRxeDJxU0hZWTFGTHNIUXQrT1A2dmFPS1pwbHVYM3U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JlUFU0TU90eHg1Q0F4?= =?utf-8?B?M3h4M3hUTmE1Wkx6NjhxMVp5KzZydVZPZGxiMVZuTVpkRk5nbDJEbnJGRGxj?= =?utf-8?B?YVRBeWw0b0hiUU9zOVVrYmlJWE5QQkVLZkErT1NtZkdvQzY1VmJ3bVVLaXVK?= =?utf-8?B?bmliNUdOcFE0dWdBd2pEaGNsei82YTdoblNld1RZcXNoZ2NyZVRFMDMvQU1O?= =?utf-8?B?SDZxSEtCa3J6TlhXSmRteHhFMXJuWmlvTWp0eitIVnE5UlpWTE9vRWwxQzdj?= =?utf-8?B?Um5xSTNua0p3YnpSL0JzWWxJNFdSRmdYTzV3dnVaVkhBNDFBanBwZXVKUjB6?= =?utf-8?B?VncxMXdQbnZMWFhOOWFSYXpCZy9sejlpTU01QmVrZXBWa2QzYTZEUHdoK1lj?= =?utf-8?B?Q1Q4bmlVcWhiWi95YmRxdkFzRksrSkF4czEyRUhhRlV5cnVqRHpITmo2T3h5?= =?utf-8?B?WFVON2FYclZsVVZhNGJaVUNwV1VHUk5vZDBJVDF2Ymswb3VUbUFpYS9kZHVs?= =?utf-8?B?S2VIdklaLzV5dXZLS3BxS0F1VE1DWTkxbklPeU0wdGRFVGY2a0Nmd0VyOHBJ?= =?utf-8?B?QlN6OWswVktWSWJFY1FQSmVFUldKYzljSnVkbzBCWW1SeFZVVnNTcjAvSmhr?= =?utf-8?B?ZVNVa3hNNG5KQ0dZWG9XeEZPY1J1ejFPbWpaQkJnTy9UeHNwN1poajFmdERk?= =?utf-8?B?ZHc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: d83c6bde-af65-4104-91de-08dbf05f819a X-MS-Exchange-CrossTenant-AuthSource: SJ2PR11MB7573.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 22:15:19.1228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8tMgeU8jqK2IeEFsJYDDjP3b9Dl4kU49CCxf7TsKqjYieixn1KezDxgzOG/Viyebzzw2WDVCwZWKYC91HpZwiizZUnZb/ka/Z/rrUDLgCWI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR11MB8024 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 14:15:35 -0800 (PST) Hi Ilpo, On 11/20/2023 3:13 AM, Ilpo Järvinen wrote: > Naming for perf event related functions, types, and variables is > currently inconsistent. (nitpick ... instead if "currently inconsistent" this can just be "inconsistent") > > Make struct read_format and all functions related to perf events start > with "perf_". Adjust variable names towards the same direction but use > shorter names for variables where appropriate (pe prefix). > > Signed-off-by: Ilpo Järvinen > --- Reviewed-by: Reinette Chatre Reinette