To avoid impacting runtime performance, the perf-logging is disabled upon ExitBootServices.
Ray Ni (8): UefiCpuPkg/CpuSmm: Add perf-logging for time-consuming BSP procedures UefiCpuPkg/CpuSmm: Add perf-logging for MP procedures MdeModulePkg/SmmCore: Add perf-logging for time-consuming procedures MdeModulePkg/SmmCore: Add perf-logging for SmmDriverDispatchHandler MdeModulePkg/SmmPerformanceLib: Disable perf-logging after ExitBS MdeModulePkg/SmmCorePerformanceLib: Disable perf-logging at runtime UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging MdeModulePkg/SmmCore: Perf-log PlatformHookBefore/AfterSmmDispatch MdeModulePkg/Core/PiSmmCore/Dispatcher.c | 5 +- MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 19 +++- MdeModulePkg/Core/PiSmmCore/Smi.c | 6 ++ .../SmmCorePerformanceLib.c | 48 ++++++++- .../SmmCorePerformanceLib.inf | 3 +- .../SmmPerformanceLib/SmmPerformanceLib.c | 63 ++++++++++- .../SmmPerformanceLib/SmmPerformanceLib.inf | 4 + UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 42 +++++++- UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 38 +++++++ UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 2 + UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 4 + .../PiSmmCpuDxeSmm/SmmCpuMemoryManagement.c | 13 ++- UefiCpuPkg/PiSmmCpuDxeSmm/SmmMpPerf.c | 100 ++++++++++++++++++ UefiCpuPkg/PiSmmCpuDxeSmm/SmmMpPerf.h | 83 +++++++++++++++ UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c | 4 +- UefiCpuPkg/UefiCpuPkg.dec | 6 ++ 16 files changed, 429 insertions(+), 11 deletions(-) create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMpPerf.c create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMpPerf.h -- 2.39.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106042): https://edk2.groups.io/g/devel/message/106042 Mute This Topic: https://groups.io/mt/99500176/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-