Current DP implementation depends on TimerLib, as different platforms may implement and use their own TimerLib, it makes the dp needs to be built by platform. The TimerLib dependency can be removed by using performance property configuration table to make DP to be generic.
V3: Define and install performance property configuration table instead of extending PEI performance log HOB. As user may want to only dump DXE or SMM performance data, then PeiPerformanceLib will be not linked and PEI performance log HOB will be not built. Cc: Liming Gao <[email protected]> Cc: Jiewen Yao <[email protected]> Cc: Cinnamon Shia <[email protected]> Cc: Jaben Carsey <[email protected]> Star Zeng (3): MdeModulePkg: Define and install performance property configuration table PerformancePkg Dp_App: Remove TimerLib dependency ShellPkg UefiDpLib: Remove TimerLib dependency MdeModulePkg/Include/Guid/Performance.h | 12 +++++++- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 24 +++++++++++++++- .../DxeCorePerformanceLib.inf | 4 ++- .../DxeCorePerformanceLibInternal.h | 3 +- .../SmmCorePerformanceLib/SmmCorePerformanceLib.c | 22 +++++++++++++++ .../SmmCorePerformanceLib.inf | 5 +++- PerformancePkg/Dp_App/Dp.c | 33 +++++++++++----------- PerformancePkg/Dp_App/Dp.inf | 4 ++- PerformancePkg/Dp_App/DpInternal.h | 6 ++-- PerformancePkg/Dp_App/DpProfile.c | 3 +- PerformancePkg/Dp_App/DpStrings.uni | 8 ++++-- PerformancePkg/Dp_App/DpTrace.c | 25 ++-------------- PerformancePkg/Dp_App/DpUtilities.c | 1 - PerformancePkg/Dp_App/Literals.c | 3 +- ShellPkg/Library/UefiDpLib/Dp.c | 29 ++++++++----------- ShellPkg/Library/UefiDpLib/DpInternal.h | 6 ++-- ShellPkg/Library/UefiDpLib/DpProfile.c | 3 +- ShellPkg/Library/UefiDpLib/DpTrace.c | 23 +-------------- ShellPkg/Library/UefiDpLib/DpUtilities.c | 1 - ShellPkg/Library/UefiDpLib/Literals.c | 3 +- ShellPkg/Library/UefiDpLib/UefiDpLib.inf | 6 ++-- ShellPkg/Library/UefiDpLib/UefiDpLib.uni | 3 +- ShellPkg/ShellPkg.dsc | 1 - 23 files changed, 117 insertions(+), 111 deletions(-) -- 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

