public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Dandan Bi <dandan.bi@intel.com>
To: edk2-devel@lists.01.org
Cc: Liming Gao <liming.gao@intel.com>, Star Zeng <star.zeng@intel.com>
Subject: [patch 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table
Date: Tue, 23 Jan 2018 11:47:27 +0800	[thread overview]
Message-ID: <1516679255-12328-1-git-send-email-dandan.bi@intel.com> (raw)

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: Add check for collecting SMM records
  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 +++++
 .../DxeCorePerformanceLib/DxeCorePerformanceLib.c  | 1130 ++++++++++++++------
 .../DxeCorePerformanceLib.inf                      |   14 +-
 .../DxeCorePerformanceLibInternal.h                |   14 +-
 .../Library/PeiPerformanceLib/PeiPerformanceLib.c  |  563 ++++++----
 .../PeiPerformanceLib/PeiPerformanceLib.inf        |   14 +-
 .../SmmCorePerformanceLib/SmmCorePerformanceLib.c  | 1094 +++++++++++--------
 .../SmmCorePerformanceLib.inf                      |   10 +-
 .../SmmCorePerformanceLibInternal.h                |   11 +-
 MdeModulePkg/MdeModulePkg.dec                      |   11 +-
 MdeModulePkg/MdeModulePkg.uni                      |    8 +-
 .../FirmwarePerformanceDxe.c                       |   58 +-
 .../FirmwarePerformancePei.c                       |   59 +-
 .../FirmwarePerformancePei.inf                     |    5 +-
 .../FirmwarePerformanceSmm.c                       |   14 +-
 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 |   92 +-
 .../DynamicCommand/DpDynamicCommand/DpUtilities.c  |   31 +-
 .../DynamicCommand/DpDynamicCommand/Literals.c     |   24 +-
 .../DynamicCommand/DpDynamicCommand/Literals.h     |    8 +-
 .../DpDynamicCommand/PerformanceTokens.h           |   28 -
 26 files changed, 3009 insertions(+), 1116 deletions(-)
 create mode 100644 MdeModulePkg/Include/Guid/ExtendedFirmwarePerformance.h
 delete mode 100644 ShellPkg/DynamicCommand/DpDynamicCommand/PerformanceTokens.h

-- 
1.9.5.msysgit.1



             reply	other threads:[~2018-01-23  3:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  3:47 Dandan Bi [this message]
2018-01-23  3:47 ` [patch 1/8] MdeModulePkg:Add definitions for new Performance infrastructure Dandan Bi
2018-01-23  3:47 ` [patch 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase Dandan Bi
2018-01-23  3:47 ` [patch 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase Dandan Bi
2018-01-23  3:47 ` [patch 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase Dandan Bi
2018-01-23  3:47 ` [patch 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase Dandan Bi
2018-01-23  3:47 ` [patch 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure Dandan Bi
2018-01-23  3:47 ` [patch 7/8] MdeModulePkg/FirmwarePerfSmm: Add check for collecting SMM records Dandan Bi
2018-01-23  3:47 ` [patch 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table Dandan Bi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516679255-12328-1-git-send-email-dandan.bi@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox