summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Pei
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Core/Pei')
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index 0f712ede48..bdbb00b205 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
@@ -316,9 +316,9 @@ PeiDispatcher (
//
PeimEntryPoint = (EFI_PEIM_ENTRY_POINT2)(UINTN)EntryPoint;
- PERF_START (0, "PEIM", NULL, 0);
+ PERF_START (PeimFileHandle, "PEIM", NULL, 0);
PeimEntryPoint(PeimFileHandle, (const EFI_PEI_SERVICES **) &Private->PS);
- PERF_END (0, "PEIM", NULL, 0);
+ PERF_END (PeimFileHandle, "PEIM", NULL, 0);
}
//
@@ -414,7 +414,7 @@ PeiDispatcher (
// The PEIM has its dependencies satisfied, and its entry point
// has been found, so invoke it.
//
- PERF_START (0, "PEIM", NULL, 0);
+ PERF_START (PeimFileHandle, "PEIM", NULL, 0);
ExtendedData.Handle = (EFI_HANDLE)PeimFileHandle;
@@ -449,7 +449,7 @@ PeiDispatcher (
(VOID *)(&ExtendedData),
sizeof (ExtendedData)
);
- PERF_END (0, "PEIM", NULL, 0);
+ PERF_END (PeimFileHandle, "PEIM", NULL, 0);
}