summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/SmmPerformanceLib
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-04-08 17:35:18 +0800
committerLiming Gao <liming.gao@intel.com>2016-04-11 16:20:28 +0800
commit7a9395cd7bb432cd61625bae9a8f55759ca1c1a0 (patch)
tree454e2af6698880f7bea6edfa09e750fc3e5b94d1 /MdeModulePkg/Library/SmmPerformanceLib
parentef8d41707d2ce14b0eb294ec7b2cd96549215dd1 (diff)
downloadedk2-platforms-7a9395cd7bb432cd61625bae9a8f55759ca1c1a0.tar.xz
MdeModulePkg: Update PerformanceLib instances not to check Identifier.
In PerformanceLib, Identifier is for single PERF, not the pair of PERF. When find the matched START and END pair, the identifier will not be checked. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/SmmPerformanceLib')
-rw-r--r--MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c b/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c
index c01d16d1eb..4a08c24789 100644
--- a/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c
+++ b/MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.c
@@ -6,7 +6,7 @@
to log performance data. If both SMM PerformanceEx and Performance Protocol are not available, it does not log any
performance information.
- Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2011 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -153,7 +153,7 @@ StartPerformanceMeasurementEx (
/**
Fills in the end time of a performance measurement.
- Looks up the record that matches Handle, Token, Module and Identifier.
+ Looks up the record that matches Handle, Token and Module.
If the record can not be found then return RETURN_NOT_FOUND.
If the record is found and TimeStamp is not zero,
then TimeStamp is added to the record as the end time.