diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-30 09:38:38 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-30 09:38:38 +0000 |
commit | c3522526f18e732b15ddfed48ca24eabdb5c1a23 (patch) | |
tree | 0e6016bfd16b2282ae78262b1cc041cbddd252f5 /PerformancePkg/Dp_App | |
parent | e24adb18e330ff25dd35a278f0f8593378e14668 (diff) | |
download | edk2-c3522526f18e732b15ddfed48ca24eabdb5c1a23.tar.gz edk2-c3522526f18e732b15ddfed48ca24eabdb5c1a23.tar.bz2 edk2-c3522526f18e732b15ddfed48ca24eabdb5c1a23.zip |
Show PEIM GUID in PERF log.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11209 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg/Dp_App')
-rw-r--r-- | PerformancePkg/Dp_App/DpStrings.uni | bin | 36244 -> 36232 bytes | |||
-rw-r--r-- | 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 Binary files differindex f120985324..ee3b277b64 100644 --- a/PerformancePkg/Dp_App/DpStrings.uni +++ b/PerformancePkg/Dp_App/DpStrings.uni 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
);
}
|