]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/PiSmmCore: Remove SMM Perf entry
authorDandan Bi <dandan.bi@intel.com>
Wed, 27 Jun 2018 01:29:02 +0000 (09:29 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 28 Jun 2018 11:46:07 +0000 (19:46 +0800)
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>
MdeModulePkg/Core/PiSmmCore/PiSmmCore.c

index 32c450d8a2acde76438c1ea3e1b4c8d2f68f6d7a..d0bc65b5644e35b18c1793ca31e83910f2659ec8 100644 (file)
@@ -644,8 +644,6 @@ SmmEntryPoint (
   VOID                        *CommunicationBuffer;\r
   UINTN                       BufferSize;\r
 \r
-  PERF_INMODULE_BEGIN ("SMM");\r
-\r
   //\r
   // Update SMST with contents of the SmmEntryContext structure\r
   //\r
@@ -738,8 +736,6 @@ SmmEntryPoint (
     //\r
     gSmmCorePrivate->InSmm = FALSE;\r
   }\r
-\r
-  PERF_INMODULE_END ("SMM");\r
 }\r
 \r
 /**\r