From c3522526f18e732b15ddfed48ca24eabdb5c1a23 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 30 Dec 2010 09:38:38 +0000 Subject: Show PEIM GUID in PERF log. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11209 6f19259b-4bc3-4df7-8a09-765794883524 --- PerformancePkg/Dp_App/DpStrings.uni | Bin 36244 -> 36232 bytes PerformancePkg/Dp_App/DpTrace.c | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PerformancePkg/Dp_App/DpStrings.uni b/PerformancePkg/Dp_App/DpStrings.uni index f120985324..ee3b277b64 100644 Binary files a/PerformancePkg/Dp_App/DpStrings.uni and b/PerformancePkg/Dp_App/DpStrings.uni differ diff --git a/PerformancePkg/Dp_App/DpTrace.c b/PerformancePkg/Dp_App/DpTrace.c index bdaa1d9256..b70e3a2208 100644 --- a/PerformancePkg/Dp_App/DpTrace.c +++ b/PerformancePkg/Dp_App/DpTrace.c @@ -612,11 +612,11 @@ ProcessPeims( Duration = GetDuration (&Measurement); ElapsedTime = DurationInMicroSeconds ( Duration ); // Calculate elapsed time in microseconds if (ElapsedTime >= mInterestThreshold) { - GetNameFromHandle ((EFI_HANDLE) Measurement.Handle); // Name placed in mGaugeString + // PEIM FILE Handle is the start address of its FFS file that contains its file guid. PrintToken (STRING_TOKEN (STR_DP_PEIM_STAT2), TIndex, // 1 based, Which measurement record is being printed - Measurement.Handle, - mGaugeString, + Measurement.Handle, // base address + Measurement.Handle, // file guid ElapsedTime ); } -- cgit v1.2.3