[edk2-devel] [PATCH V3 0/8] Enable SMM perf-logging
Ni, Ray
ray.ni at intel.com
Thu Jun 15 10:03:35 UTC 2023
I haven't got "Reviewed-by" for MdeModulePkg changes. Can Jian or Liming approve?
> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Ni, Ray
> Sent: Tuesday, June 13, 2023 2:13 PM
> To: devel at edk2.groups.io
> Subject: [edk2-devel] [PATCH V3 0/8] Enable SMM perf-logging
>
> 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 (#106109): https://edk2.groups.io/g/devel/message/106109
Mute This Topic: https://groups.io/mt/99500176/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3943202/1813853/130120423/xyzzy [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list