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.web09.562.1574385509714092132 for ; Thu, 21 Nov 2019 17:18:29 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: madhura.deshpande@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Nov 2019 17:18:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,227,1571727600"; d="scan'208";a="201336117" Received: from fm73lab143.amr.corp.intel.com ([10.3.79.150]) by orsmga008.jf.intel.com with ESMTP; 21 Nov 2019 17:18:28 -0800 From: Deshpande To: devel@edk2.groups.io Subject: [PATCH] Edk2\MdeModulePkg: dding Perf macros to reduce the gaps in Perf logs Date: Thu, 21 Nov 2019 17:18:24 -0800 Message-Id: <20191122011824.11104-1-madhura.deshpande@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 Updated Edk2\MdeModulePkg\Core\DxeIplPeim\DxeLoad.c file to add perf macros. Change-Id: I84cc5ec34fbd1e52cec983a86aa7f12b73f67625 Signed-off-by: Deshpande --- MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c index d48028cea0..a679c68515 100644 --- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c +++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c @@ -622,12 +622,17 @@ CustomGuidedSectionExtract ( DEBUG ((DEBUG_INFO, "Customized Guided section Memory Size required is 0x%x and address is 0x%p\n", OutputBufferSize, *OutputBuffer)); } + PERF_INMODULE_BEGIN ("ExtractGuidedSectionDecode"); + Status = ExtractGuidedSectionDecode ( InputSection, OutputBuffer, ScratchBuffer, AuthenticationStatus ); + + PERF_INMODULE_END ("ExtractGuidedSectionDecode"); + if (EFI_ERROR (Status)) { // // Decode failed -- 2.16.2.windows.1