From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 92CC0203B8CFC for ; Tue, 22 May 2018 03:38:36 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2018 03:38:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,429,1520924400"; d="scan'208";a="42954352" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 22 May 2018 03:38:35 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 22 May 2018 03:38:35 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 22 May 2018 03:38:34 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.79]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.40]) with mapi id 14.03.0319.002; Tue, 22 May 2018 18:38:32 +0800 From: "Zeng, Star" To: Laszlo Ersek , Ard Biesheuvel CC: "Bi, Dandan" , Andrew Fish , "Kinney, Michael D" , Leif Lindholm , "edk2-devel@lists.01.org" , "Gao, Liming" , Matt Sealey , "Zeng, Star" Thread-Topic: [edk2] [PATCH v2 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase Thread-Index: AQHTmdHSnZvFDbcLrUGLMz6l1fjbn6QbGK+AgB/2qgCAAIsbgIAAhv+Q//98GgCAAI9XcP//gLIAgACLBmA= Date: Tue, 22 May 2018 10:38:32 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BAEE309@shsmsx102.ccr.corp.intel.com> References: <1517320437-11688-1-git-send-email-dandan.bi@intel.com> <1517320437-11688-4-git-send-email-dandan.bi@intel.com> <3C0D5C461C9E904E8F62152F6274C0BB3BAD755F@shsmsx102.ccr.corp.intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103BAEE227@shsmsx102.ccr.corp.intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103BAEE2BC@shsmsx102.ccr.corp.intel.com> <7e5f817f-d2b9-1359-974c-ace751cd2984@redhat.com> In-Reply-To: <7e5f817f-d2b9-1359-974c-ace751cd2984@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 10:38:36 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SSBjb3VsZCBub3QgcmVjYWxsIHRoZSB3aG9sZSBiYWNrZ3JvdW5kLg0KDQpMZXQgdXMgc2VwYXJh dGUgdGhlIHByb2JsZW0gaW50byB0d28gcGFydHMuDQoNCjEuIEZvciB0aGlzIHNwZWNpYWwgY2Fz ZSBpbiBEeGVDb3JlUGVyZm9ybWFuY2VMaWIsIHdlIGF0IGxlYXN0IGhhdmUgYXBwcm9hY2ggKGFs dGhvdWdoIGp1c3QgZm9yIHNob3J0IHRlcm0pLg0KMi4gRm9yIH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