[edk2-devel] [PATCH V3 0/8] Enable SMM perf-logging

Ni, Ray posted 8 patches 10 months, 3 weeks ago
Failed in applying to current master (apply log)
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
[edk2-devel] [PATCH V3 0/8] Enable SMM perf-logging
Posted by Ni, Ray 10 months, 3 weeks ago
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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3901457/1787277/102458076/xyzzy [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-