Enable PEI core to differentiate PEIMs in performance log by passing PEIM file handles

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9927 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jgong5 2010-02-04 04:31:12 +00:00
parent c5c902dad2
commit 087e13cbe2
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}