From 3408526e8619640becda48b29d72f3e9b8c7f632 Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Wed, 27 Jun 2018 09:29:02 +0800 Subject: [PATCH] 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 --- MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 4 ---- 1 file changed, 4 deletions(-) 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"); } /** -- 2.39.2