]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/PiSmmCore/PiSmmCore.c
MdeModulePkg: Use new added Perf macros
[mirror_edk2.git] / MdeModulePkg / Core / PiSmmCore / PiSmmCore.c
index 686b9b45a5564f710554e2eb4b1b3823a6931cd9..45f40e0e60c7839ee731114a7b430d16a631094e 100644 (file)
@@ -644,7 +644,7 @@ SmmEntryPoint (
   VOID                        *CommunicationBuffer;\r
   UINTN                       BufferSize;\r
 \r
-  PERF_START (NULL, "SMM", NULL, 0) ;\r
+  PERF_INMODULE_BEGIN ("SMM");\r
 \r
   //\r
   // Update SMST with contents of the SmmEntryContext structure\r
@@ -739,7 +739,7 @@ SmmEntryPoint (
     gSmmCorePrivate->InSmm = FALSE;\r
   }\r
 \r
-  PERF_END (NULL, "SMM", NULL, 0) ;\r
+  PERF_INMODULE_END ("SMM");\r
 }\r
 \r
 /**\r