X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FLibrary%2FDxePerformanceLib%2FDxePerformanceLib.inf;h=cd8e828845a6e07b7baf3d2c29115104afc3e34e;hp=57d125b51b637515a10af158cce1ccb78bac3ef0;hb=HEAD;hpb=bba9ad98f13e2cf275aa9f54bb6e737c8f988fb3 diff --git a/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf b/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf index 57d125b51b..cd8e828845 100644 --- a/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf +++ b/MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf @@ -1,37 +1,32 @@ -#/** @file -# Component description file for Dxe Performance Library +## @file +# Performance library instance used in DXE phase. # -# This library provides intrastructure for Dxe driver to log performance. -# Copyright (c) 2006 - 2007, Intel Corporation +# This library instance provides infrastructure for DXE phase drivers to log performance +# data. It consumes PerformanceEx or Performance Protocol published by DxeCorePerformanceLib +# to log performance data. If both PerformanceEx and Performance Protocol are not available, +# it does not log any performance information. # -# All rights reserved. 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 -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent # -# -#**/ +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = DxePerformanceLib + MODULE_UNI_FILE = DxePerformanceLib.uni FILE_GUID = 8B8B4CCC-65FC-41a5-8067-308B8E42CCF2 MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 - LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - + LIBRARY_CLASS = PerformanceLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 EBC # -[Sources.common] +[Sources] DxePerformanceLib.c @@ -46,10 +41,10 @@ DebugLib -[Protocols] - gPerformanceProtocolGuid # PROTOCOL ALWAYS_CONSUMED +[Guids] + gEdkiiPerformanceMeasurementProtocolGuid ## SOMETIMES_CONSUMES ## UNDEFINED # Locate protocol -[Pcd.common] - gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask +[Pcd] + gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask ## CONSUMES