MdeModulePkg: Use new added Perf macros
Replace old Perf macros with the new added ones. Cc: Liming Gao <liming.gao@intel.com> Cc: Star Zeng <star.zeng@intel.com> Cc: Eric Dong <eric.dong@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>
This commit is contained in:
@@ -644,7 +644,7 @@ SmmEntryPoint (
|
||||
VOID *CommunicationBuffer;
|
||||
UINTN BufferSize;
|
||||
|
||||
PERF_START (NULL, "SMM", NULL, 0) ;
|
||||
PERF_INMODULE_BEGIN ("SMM");
|
||||
|
||||
//
|
||||
// Update SMST with contents of the SmmEntryContext structure
|
||||
@@ -739,7 +739,7 @@ SmmEntryPoint (
|
||||
gSmmCorePrivate->InSmm = FALSE;
|
||||
}
|
||||
|
||||
PERF_END (NULL, "SMM", NULL, 0) ;
|
||||
PERF_INMODULE_END ("SMM");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user