public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Deshpande <madhura.deshpande@intel.com>
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	[thread overview]
Message-ID: <20191122011824.11104-1-madhura.deshpande@intel.com> (raw)

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


                 reply	other threads:[~2019-11-22  1:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191122011824.11104-1-madhura.deshpande@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox