summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorjgong5 <jgong5@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-04 04:31:12 +0000
committerjgong5 <jgong5@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-04 04:31:12 +0000
commit087e13cbe2946501afcce31b62a1b342715bc20d (patch)
tree7061d3c30f0cff3bb2718758b36d3b1c41c2aa93 /MdeModulePkg
parentc5c902dad22958d301efe961f57dc5b5cf30e115 (diff)
downloadedk2-platforms-087e13cbe2946501afcce31b62a1b342715bc20d.tar.xz
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
Diffstat (limited to 'MdeModulePkg')
-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);
}