]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Show PEIM GUID in PERF log.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 09:38:38 +0000 (09:38 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Dec 2010 09:38:38 +0000 (09:38 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11209 6f19259b-4bc3-4df7-8a09-765794883524

PerformancePkg/Dp_App/DpStrings.uni
PerformancePkg/Dp_App/DpTrace.c

index f120985324ecc798ffdf896a4ff22b825f3b0bb3..ee3b277b64245b123330a6501fd69688c5ef0273 100644 (file)
Binary files a/PerformancePkg/Dp_App/DpStrings.uni and b/PerformancePkg/Dp_App/DpStrings.uni differ
index bdaa1d925647b54ab47e878fddd742375ef176c1..b70e3a2208f333ea177b4a8bd850e39b384cf5d5 100644 (file)
@@ -612,11 +612,11 @@ ProcessPeims(
     Duration = GetDuration (&Measurement);\r
     ElapsedTime = DurationInMicroSeconds ( Duration );  // Calculate elapsed time in microseconds\r
     if (ElapsedTime >= mInterestThreshold) {\r
-      GetNameFromHandle ((EFI_HANDLE) Measurement.Handle); // Name placed in mGaugeString\r
+      // PEIM FILE Handle is the start address of its FFS file that contains its file guid.\r
       PrintToken (STRING_TOKEN (STR_DP_PEIM_STAT2),\r
             TIndex,   // 1 based, Which measurement record is being printed\r
-            Measurement.Handle,\r
-            mGaugeString,\r
+            Measurement.Handle,  // base address\r
+            Measurement.Handle,  // file guid\r
             ElapsedTime\r
       );\r
     }\r