public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH V3 0/8] Enable SMM perf-logging
@ 2023-06-13  6:13 Ni, Ray
  2023-06-13  6:13 ` [PATCH V3 1/8] UefiCpuPkg/CpuSmm: Add perf-logging for time-consuming BSP procedures Ni, Ray
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Ni, Ray @ 2023-06-13  6:13 UTC (permalink / raw)
  To: devel

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-06-20  9:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-13  6:13 [PATCH V3 0/8] Enable SMM perf-logging Ni, Ray
2023-06-13  6:13 ` [PATCH V3 1/8] UefiCpuPkg/CpuSmm: Add perf-logging for time-consuming BSP procedures Ni, Ray
2023-06-13  6:13 ` [PATCH V3 2/8] UefiCpuPkg/CpuSmm: Add perf-logging for MP procedures Ni, Ray
2023-06-13  6:13 ` [PATCH V3 3/8] MdeModulePkg/SmmCore: Add perf-logging for time-consuming procedures Ni, Ray
2023-06-16  3:19   ` Wang, Jian J
2023-06-13  6:13 ` [PATCH V3 4/8] MdeModulePkg/SmmCore: Add perf-logging for SmmDriverDispatchHandler Ni, Ray
2023-06-16  3:19   ` Wang, Jian J
2023-06-13  6:13 ` [PATCH V3 5/8] MdeModulePkg/SmmPerformanceLib: Disable perf-logging after ExitBS Ni, Ray
2023-06-16  3:27   ` Wang, Jian J
2023-06-13  6:13 ` [PATCH V3 6/8] MdeModulePkg/SmmCorePerformanceLib: Disable perf-logging at runtime Ni, Ray
2023-06-16  3:28   ` Wang, Jian J
2023-06-20  9:34   ` 回复: [edk2-devel] " gaoliming
2023-06-13  6:13 ` [PATCH V3 7/8] UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging Ni, Ray
2023-06-13  6:13 ` [PATCH V3 8/8] MdeModulePkg/SmmCore: Perf-log PlatformHookBefore/AfterSmmDispatch Ni, Ray
2023-06-13  8:44   ` Wu, Jiaxin
2023-06-16  3:29   ` Wang, Jian J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox