## @file EnablePerformanceMonitoringInfrastructure.dsc
|
#
|
# @copyright
|
# Copyright 2020 - 2021 Intel Corporation. <BR>
|
#
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
##
|
|
!if $(PERFORMANCE_ENABLE) == TRUE
|
|
[PcdsFixedAtBuild]
|
gEfiMdeModulePkgTokenSpaceGuid.PcdEdkiiFpdtStringRecordEnableOnly|TRUE
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|100
|
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries16|100
|
gEfiMdeModulePkgTokenSpaceGuid.PcdExtFpdtBootRecordPadSize|0x10000
|
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask|0x1
|
|
[LibraryClasses.X64]
|
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
TimerLib|PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
|
|
[LibraryClasses.X64.DXE_CORE]
|
PerformanceLib|MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
|
|
[LibraryClasses.X64.DXE_SMM_DRIVER]
|
PerformanceLib|MdeModulePkg/Library/SmmPerformanceLib/SmmPerformanceLib.inf
|
|
[LibraryClasses.X64.SMM_CORE]
|
PerformanceLib|MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib.inf
|
|
[Components.IA32]
|
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/FirmwarePerformancePei.inf
|
|
[Components.X64]
|
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.inf
|
MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/FirmwarePerformanceSmm.inf
|
MdeModulePkg/Universal/FvSimpleFileSystemDxe/FvSimpleFileSystemDxe.inf
|
ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf
|
|
!endif
|