From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web11.98321.1682474573760110475 for ; Tue, 25 Apr 2023 19:02:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=gJLzfNhO; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: ray.ni@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682474573; x=1714010573; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=WtAy+S4PhYDIr/okPHxw2VU8MnqqXX7zzeC4JM+8Ng8=; b=gJLzfNhO3+MIOPCYBlF1cZTuH/oEECKgGcH+U59NEwG4DkgO4pcTUfO5 g6iJtjGs2rZKWVeUQrd9HY7DCHCNf7UI22ytNLd4FxLWY0nnZFfU1/Sdt EzGP77exDRI1r2MegjoGxeIC+6nVjMEdr044ZmfWHo4Qvd1KMImxj8kcO /269n9upbS3k8kSTMsn2GZsWg5sL9LCx2k5YPYypF3XoRIXqFE8gi/0g+ uYllCvZaseylRJ0wXCiV5wG17LwJGobYhvtVDNHLv1E9u87AwLO7gLI9Y 3oxfur1lY1BhJ2ilrxBrqhUfjC1okUp1jgx846fIb3XbiC/I1eqDzS+j1 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="326571861" X-IronPort-AV: E=Sophos;i="5.99,227,1677571200"; d="scan'208";a="326571861" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2023 19:02:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10691"; a="763107148" X-IronPort-AV: E=Sophos;i="5.99,227,1677571200"; d="scan'208";a="763107148" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga004.fm.intel.com with ESMTP; 25 Apr 2023 19:02:53 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 25 Apr 2023 19:02:53 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 25 Apr 2023 19:02:52 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Tue, 25 Apr 2023 19:02:52 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 25 Apr 2023 19:02:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MBcEL0c6tmkD2hJUIb5NYs9LwBKf9eGvFZlS74gTmknmC6zxXi4kjqSaw/5+9B5a6em1rzuyfQhZWwQ338fAk1eL4JYuVSFCa0Y4iTGbQjexHRVTi1uJzvnNl7iPtwmJWBN0xD7gGzo/5buSyQnKqZg1HEgvO6WTJgy+x0S1rgZU2ZfNyh5n2AcFzcvSYiEY2mpeLPvgyGdzhCO+gCaYufZ157443AK9DOe9s3Ahat+FDX7K4EAadgp3TgVoRkbaS/uvvs3fwBe8IDxW0YkShUzaj1SwiqxRx4Q89Sn9cRFSv9Ql+L2vgNpzDpro8FYEnYB7GbWcxybl9pZCOhPFVQ== 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=HFkVn27N6i5pX5qwlQfWUWqWbEaxIr64JfxwvkIjsYY=; b=ftzfGgp4K/nqCIeWKIGjJOzb2xRF6lpDJQPowMC3ibag/heT9VaicTvn+OefVwyti4pw3T8xKcKE9u8HrQqKdN5dBYSrRgFMoIWqI8TN9BhYeUAQfHZjqoIJdRHoMo8mi25onX1wir8m9FSHSqYsTkisa1jra8SqOn+JebzpmML5a1NwIkQ2Wp5QdTbQvYlDoAzLBgIZfXwgjo98UU5xnRetCicl4I3wIHb3nC+AslWz2Emqykho9BH6p5LqSsFrldCESZQ5v9up7xG9KQrfd1vP36WusVlQR5VdJlm+9hHyBVt6zXRHj72VDfEEZtd+lpH4kpT6otATzYKkpB9eTg== 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 Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by CH0PR11MB5394.namprd11.prod.outlook.com (2603:10b6:610:b9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34; Wed, 26 Apr 2023 02:02:45 +0000 Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::892b:b8e6:bab7:635d]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::892b:b8e6:bab7:635d%5]) with mapi id 15.20.6319.033; Wed, 26 Apr 2023 02:02:45 +0000 From: "Ni, Ray" To: "devel@edk2.groups.io" , "Tan, Dun" Subject: Re: [edk2-devel] [Patch V3 0/2] Update ProcTrace feature code for new requirements. Thread-Topic: [edk2-devel] [Patch V3 0/2] Update ProcTrace feature code for new requirements. Thread-Index: AQHZd+Isn/jAP/Y8/kG50R1O02AMv6881nLg Date: Wed, 26 Apr 2023 02:02:45 +0000 Message-ID: References: <20230426015429.3117-1-dun.tan@intel.com> In-Reply-To: <20230426015429.3117-1-dun.tan@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|CH0PR11MB5394:EE_ x-ms-office365-filtering-correlation-id: 1b63e28b-6c50-4fa3-08c1-08db45fa5418 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tVvkXxn6APVqfW0u59wLA2YaOGP0CxZlf3uALROYaNCVAL+ImHfdg3G+RZItwwFuzi6tClR/kaJSMOLCQVHv3jzx0gmLqScVJ2/ZwHLEd57gPs71m7cAQDHp5VY6WBDXzwyEjjiGktoVPAZMwaZbXBHDNjErb1ODywARXI+31Q0BkOa1irgeKSgFkD1b+vKU9wHfB4VeUfeK19QHzF5U9PmcqpsXydPV86fr+fPeLBRK7jQLA9ktLm9cHJgnNLAZ0HkGED3smrEPB+JVGGtHlWcGthtdND1bvyIZDX3lTCaduF3bEBmyIhpBB07hPvuBHtBOaBmCvzWzqh9erJbI5QiFjJ80rADAmZ2sBKsKTp900LJ5FSvkDZR5Z3ZW2dE67Knny0+1TLgKcIAS128K8bNKSml6tY1TuuyxkQ8UahU2wpVt4BuMFK3+pPTJ7bJq5yOQnW2y1c9Bnbpj9bUzOQDnOwgz/xxvt3MWR6xNhMnM+peiPhVeow8fP9RbfLl4yMarOUzkbYp9P0HHP63KK+NfR7VvWPYRKqQ7eZZOOS2VQJqVaoDfH4yN1sWh1cAbIrrviPFb+b1mvWTtneNPZxlLn4hZkx7hndIcwZ7KCVRdK9kq8ge93gUQLn9pb4rbFcPRioKlYXG01FirEHibrg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN6PR11MB8244.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(376002)(366004)(136003)(39860400002)(346002)(396003)(451199021)(110136005)(6636002)(38070700005)(66899021)(33656002)(86362001)(478600001)(38100700002)(41300700001)(122000001)(8676002)(8936002)(2906002)(15650500001)(64756008)(55016003)(66476007)(66556008)(316002)(66446008)(82960400001)(52536014)(76116006)(66946007)(5660300002)(186003)(26005)(53546011)(6506007)(9686003)(966005)(83380400001)(7696005)(71200400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3b1HMdASnXcpcpA8ufZ30n0VW7n6Cl7soLUjWxPy6ERS0NIMuvTZbGSjNoTm?= =?us-ascii?Q?QrOsAmmAbjjxkQJosegwC+1Q4eLcfKxUDonOFxdfnZYpUbm/XDc2v7cGrNpH?= =?us-ascii?Q?qqJir1aYbByUoSFCo/jxSpaHAuZNEAvRGz2T8XXNyqzpk6DdHliMILIGj0V4?= =?us-ascii?Q?V5eUP2zqq6jy48FkAQainJLJQHVNGjumP/uq8zHRZRoDgmObqYhsfiPqDgV1?= =?us-ascii?Q?3rxf2OB+wtsYmlvAV8onq10anpSzcbiPOUPHjzbKFX4jPVGvlQmdBuWLRxto?= =?us-ascii?Q?OdAwsZD+iR2c8dvVPIFi1HTM8TIfNj3hAeei+0vfgE4IMQso5DRn2mjakwqZ?= =?us-ascii?Q?qsTqPTY8c5L+67UvbSCxmyowK32AaKijNrdrHFOG0zztO6BXKmt95sYcy+Xi?= =?us-ascii?Q?dUD+9lf27l3QbkwQOwQT9IQXxObZ/9Wc++kZ6JWNn/uuJWE4K5TcZaiupEXp?= =?us-ascii?Q?GgMVj4sTAvPUpND9yZIS57qsJf0G093eLnsMJZ+oVU7zDTfE/go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t6yOoh7gE7nXmYSi9rQnSGpnEzUMqSOZEjnEsnJXaIpCdvp?= =?us-ascii?Q?f0aNpQFnwUJ4ZUN2jcQ3A62MLRh0aUdfYNUFyvvxjUFpbkN7uySBcdSvK2yW?= =?us-ascii?Q?lnHF2NXmR3uRHYcf2Vi3jaOyaRBctTryJHNaTZyO0jlKzjmQr0+GMmxDyp0E?= =?us-ascii?Q?rmmrQu307qftWS9CbZY=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b63e28b-6c50-4fa3-08c1-08db45fa5418 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2023 02:02:45.7987 (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: wOpb4E1fB5HnVMhoelbgwzQWfDCoR77AQcIs1mvkNjcoQoHJXK8oxBxtuu81KD61L2lHadKSlR4CJMRAAONHCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5394 Return-Path: ray.ni@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ray Ni > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of duntan > Sent: Wednesday, April 26, 2023 9:54 AM > To: devel@edk2.groups.io > Subject: [edk2-devel] [Patch V3 0/2] Update ProcTrace feature code for ne= w > requirements. >=20 > In V3 patch set: > 1. Add more comments in 'Update code to support enable ProcTrace only on > BSP' > 2. Rename some local varibles and remove a uneeded if check in 'Update PT > code to support enable collect performance' >=20 > Dun Tan (2): > UefiCpuPkg: Update code to support enable ProcTrace only on BSP > UefiCpuPkg: Update PT code to support enable collect performance >=20 > UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf | > 12 +++++++----- > UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c | 210 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++--------------------------------------------------= ------- > -------------- > UefiCpuPkg/UefiCpuPkg.dec | 15 += ++++++++++++++ > 3 files changed, 161 insertions(+), 76 deletions(-) >=20 > -- > 2.39.1.windows.1 >=20 >=20 >=20 >=20 >=20