public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v3 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table
@ 2018-02-02  8:30 Dandan Bi
  2018-02-02  8:30 ` [PATCH v3 1/8] MdeModulePkg:Add definitions for new Performance infrastructure Dandan Bi
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Dandan Bi @ 2018-02-02  8:30 UTC (permalink / raw)
  To: edk2-devel; +Cc: Liming Gao, Star Zeng

V3:
a. Add "FPDT_" prefix for related definitions in ExtendedFirmwarePerformance.h.
b. Refine the code logic.

V2:
a. Update DxecorePerformanceLib/SmmCorePerformanceLib to report the
boot performance table address instead of records contents.
b. Update FirmwarePerformanceDxe/FirmwarePerformanceSmm to receive the address
of performance records.

This patch series also can be accessed at:
https://github.com/dandanbi/edk2/tree/NewPerformanceInfrastructureV3

These patches are to update EDKII performance infrastructure to log and dump
the performance entry as FPDT record in ACPI FPDT table.This new infrastructure
can support to dump performance data in UEFI Shell and OS both.
(1)PeiPerformanceLib/DxeCorePerformanceLib/SmmCorePerformanceLib log the
performance entry as FPDT record.
(2)FirmwarePerformancePei/FirmwarePerformanceDxe/FirmwarePerformanceSmm
install the FPDT records to the ACPI table.
(3)Update DP to dump the performance info from the FPDT records in
FPDT table.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Dandan Bi (7):
  MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase
  MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase
  MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase
  MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase
  MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure
  MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure
  ShellPkg/Dp: Updated to dump perf log based on FPDT table

Gao, Liming (1):
  MdeModulePkg:Add definitions for new Performance infrastructure

 .../Include/Guid/ExtendedFirmwarePerformance.h     |  291 +++++
 MdeModulePkg/Include/Guid/FirmwarePerformance.h    |   13 +-
 .../DxeCorePerformanceLib/DxeCorePerformanceLib.c  | 1361 +++++++++++++++-----
 .../DxeCorePerformanceLib.inf                      |   20 +-
 .../DxeCorePerformanceLibInternal.h                |   17 +-
 .../Library/PeiPerformanceLib/PeiPerformanceLib.c  |  567 +++++---
 .../PeiPerformanceLib/PeiPerformanceLib.inf        |   14 +-
 .../SmmCorePerformanceLib/SmmCorePerformanceLib.c  | 1068 ++++++++-------
 .../SmmCorePerformanceLib.inf                      |   10 +-
 .../SmmCorePerformanceLibInternal.h                |   11 +-
 MdeModulePkg/MdeModulePkg.dec                      |   11 +-
 MdeModulePkg/MdeModulePkg.uni                      |    8 +-
 .../FirmwarePerformanceDxe.c                       |  294 +----
 .../FirmwarePerformanceDxe.inf                     |    4 +-
 .../FirmwarePerformancePei.c                       |   59 +-
 .../FirmwarePerformancePei.inf                     |    5 +-
 .../FirmwarePerformanceSmm.c                       |   35 +-
 .../FirmwarePerformanceSmm.inf                     |    1 +
 ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c      |  609 ++++++++-
 ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h      |    7 +-
 ShellPkg/DynamicCommand/DpDynamicCommand/Dp.uni    |   11 +-
 ShellPkg/DynamicCommand/DpDynamicCommand/DpApp.inf |    5 +-
 .../DpDynamicCommand/DpDynamicCommand.inf          |    5 +-
 .../DynamicCommand/DpDynamicCommand/DpInternal.h   |    9 +-
 ShellPkg/DynamicCommand/DpDynamicCommand/DpTrace.c |  108 +-
 .../DynamicCommand/DpDynamicCommand/DpUtilities.c  |   37 +-
 .../DynamicCommand/DpDynamicCommand/Literals.c     |   24 +-
 .../DynamicCommand/DpDynamicCommand/Literals.h     |    8 +-
 .../DpDynamicCommand/PerformanceTokens.h           |   28 -
 29 files changed, 3278 insertions(+), 1362 deletions(-)
 create mode 100644 MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h
 delete mode 100644 ShellPkg/DynamicCommand/DpDynamicCommand/PerformanceTokens.h

-- 
1.9.5.msysgit.1



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

end of thread, other threads:[~2018-02-02  8:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-02  8:30 [PATCH v3 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table Dandan Bi
2018-02-02  8:30 ` [PATCH v3 1/8] MdeModulePkg:Add definitions for new Performance infrastructure Dandan Bi
2018-02-02  8:30 ` [PATCH v3 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase Dandan Bi
2018-02-02  8:30 ` [PATCH v3 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase Dandan Bi
2018-02-02  8:30 ` [PATCH v3 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase Dandan Bi
2018-02-02  8:30 ` [PATCH v3 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase Dandan Bi
2018-02-02  8:30 ` [PATCH v3 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure Dandan Bi
2018-02-02  8:30 ` [PATCH v3 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance " Dandan Bi
2018-02-02  8:30 ` [PATCH v3 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table Dandan Bi

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