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:
@@ -419,6 +419,7 @@ CoreDispatcher (
|
||||
BOOLEAN ReadyToRun;
|
||||
EFI_EVENT DxeDispatchEvent;
|
||||
|
||||
PERF_FUNCTION_BEGIN ();
|
||||
|
||||
if (gDispatcherRunning) {
|
||||
//
|
||||
@@ -584,6 +585,8 @@ CoreDispatcher (
|
||||
|
||||
gDispatcherRunning = FALSE;
|
||||
|
||||
PERF_FUNCTION_END ();
|
||||
|
||||
return ReturnStatus;
|
||||
}
|
||||
|
||||
@@ -1437,6 +1440,8 @@ CoreInitializeDispatcher (
|
||||
VOID
|
||||
)
|
||||
{
|
||||
PERF_FUNCTION_BEGIN ();
|
||||
|
||||
mFwVolEvent = EfiCreateProtocolNotifyEvent (
|
||||
&gEfiFirmwareVolume2ProtocolGuid,
|
||||
TPL_CALLBACK,
|
||||
@@ -1444,6 +1449,8 @@ CoreInitializeDispatcher (
|
||||
NULL,
|
||||
&mFwVolEventRegistration
|
||||
);
|
||||
|
||||
PERF_FUNCTION_END ();
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user