[edk2-devel] [PATCH] Edk2\MdeModulePkg: dding Perf macros to reduce the gaps in Perf logs

Deshpande posted 1 patch 4 years, 4 months ago
Failed in applying to current master (apply log)
MdeModulePkg/Core/DxeIplPeim/DxeLoad.c | 5 +++++
1 file changed, 5 insertions(+)
[edk2-devel] [PATCH] Edk2\MdeModulePkg: dding Perf macros to reduce the gaps in Perf logs
Posted by Deshpande 4 years, 4 months ago
Updated Edk2\MdeModulePkg\Core\DxeIplPeim\DxeLoad.c file to add perf macros.

Change-Id: I84cc5ec34fbd1e52cec983a86aa7f12b73f67625
Signed-off-by: Deshpande <madhura.deshpande@intel.com>
---
 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


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51121): https://edk2.groups.io/g/devel/message/51121
Mute This Topic: https://groups.io/mt/61268774/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-