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:
@@ -722,23 +722,20 @@ EfiBootManagerConnectAllDefaultConsoles (
|
||||
if (!EFI_ERROR (Status)) {
|
||||
OneConnected = TRUE;
|
||||
}
|
||||
PERF_START (NULL, "ConOutReady", "BDS", 1);
|
||||
PERF_END (NULL, "ConOutReady", "BDS", 0);
|
||||
PERF_EVENT ("ConOutReady");
|
||||
|
||||
|
||||
Status = EfiBootManagerConnectConsoleVariable (ConIn);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
OneConnected = TRUE;
|
||||
}
|
||||
PERF_START (NULL, "ConInReady", "BDS", 1);
|
||||
PERF_END (NULL, "ConInReady", "BDS", 0);
|
||||
PERF_EVENT ("ConInReady");
|
||||
|
||||
Status = EfiBootManagerConnectConsoleVariable (ErrOut);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
OneConnected = TRUE;
|
||||
}
|
||||
PERF_START (NULL, "ErrOutReady", "BDS", 1);
|
||||
PERF_END (NULL, "ErrOutReady", "BDS", 0);
|
||||
PERF_EVENT ("ErrOutReady");
|
||||
|
||||
SystemTableUpdated = FALSE;
|
||||
//
|
||||
|
Reference in New Issue
Block a user