summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-06-27 09:29:02 +0800
committerEric Dong <eric.dong@intel.com>2018-06-28 19:46:07 +0800
commit3408526e8619640becda48b29d72f3e9b8c7f632 (patch)
tree8154be8574178adcc4872417a534489f227b74b7 /MdeModulePkg
parenta5f525fc48a71521f69e395d85a36d72917eeabd (diff)
downloadedk2-3408526e8619640becda48b29d72f3e9b8c7f632.tar.gz
edk2-3408526e8619640becda48b29d72f3e9b8c7f632.tar.bz2
edk2-3408526e8619640becda48b29d72f3e9b8c7f632.zip
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 <liming.gao@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/PiSmmCore/PiSmmCore.c4
1 files changed, 0 insertions, 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");
}
/**