From: Dandan Bi Date: Wed, 27 Jun 2018 01:29:02 +0000 (+0800) Subject: MdeModulePkg/PiSmmCore: Remove SMM Perf entry X-Git-Tag: edk2-stable201903~1492 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=3408526e8619640becda48b29d72f3e9b8c7f632 MdeModulePkg/PiSmmCore: Remove SMM Perf entry The perf measurement entry in SmmEntryPoint function doesn't have significant meaning. So remove it now. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi Reviewed-by: Liming Gao --- diff --git a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c index 32c450d8a2..d0bc65b564 100644 --- a/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c +++ b/MdeModulePkg/Core/PiSmmCore/PiSmmCore.c @@ -644,8 +644,6 @@ SmmEntryPoint ( VOID *CommunicationBuffer; UINTN BufferSize; - PERF_INMODULE_BEGIN ("SMM"); - // // Update SMST with contents of the SmmEntryContext structure // @@ -738,8 +736,6 @@ SmmEntryPoint ( // gSmmCorePrivate->InSmm = FALSE; } - - PERF_INMODULE_END ("SMM"); } /**