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: Dmitry Antipov <dmanti@microsoft.com>,
	Michael D Kinney <michael.d.kinney@intel.com>,
	Liming Gao <liming.gao@intel.com>,
	Star Zeng <star.zeng@intel.com>
Subject: [patch 0/3] Add PeiPerformancePpiLib
Date: Mon, 30 Jul 2018 14:59:02 +0800	[thread overview]
Message-ID: <20180730065905.9152-1-dandan.bi@intel.com> (raw)

Enhance the PeiPerformanceLib to install the Performance
Measurement PPI.

Add a new "thin" PerformanceLib instance
PeiPerformancePpiLib which will locate a
Performance measurement Ppi to log performance data.

Platform can link the "thin" PeiPerformancePpiLib
to log the performance data for PEIMs.
It also can link the PeiPerformanceLib in PEI phase
to keep the compatibility.

Cc: Dmitry Antipov <dmanti@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>

Dandan Bi (3):
  MdeModulePkg: Add the definition of performance measurement PPI
  MdeModulePkg/PeiPerformanceLib: Produce the new PerformancePpi
  MdeModulePkg/PeiPerformancePpiLib: Add PeiPerformancePpiLib

 MdeModulePkg/Include/Guid/PerformanceMeasurement.h |  14 +
 .../Library/PeiPerformanceLib/PeiPerformanceLib.c  |  81 ++++
 .../PeiPerformanceLib/PeiPerformanceLib.inf        |   1 +
 .../PeiPerformancePpiLib/PeiPerformancePpiLib.c    | 420 +++++++++++++++++++++
 .../PeiPerformancePpiLib/PeiPerformancePpiLib.inf  |  49 +++
 .../PeiPerformancePpiLib/PeiPerformancePpiLib.uni  |  23 ++
 MdeModulePkg/MdeModulePkg.dec                      |   1 +
 MdeModulePkg/MdeModulePkg.dsc                      |   1 +
 8 files changed, 590 insertions(+)
 create mode 100644 MdeModulePkg/Library/PeiPerformancePpiLib/PeiPerformancePpiLib.c
 create mode 100644 MdeModulePkg/Library/PeiPerformancePpiLib/PeiPerformancePpiLib.inf
 create mode 100644 MdeModulePkg/Library/PeiPerformancePpiLib/PeiPerformancePpiLib.uni

-- 
2.14.3.windows.1



             reply	other threads:[~2018-07-30  6:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30  6:59 Dandan Bi [this message]
2018-07-30  6:59 ` [patch 1/3] MdeModulePkg: Add the definition of performance measurement PPI Dandan Bi
2018-07-30  6:59 ` [patch 2/3] MdeModulePkg/PeiPerformanceLib: Produce the new PerformancePpi Dandan Bi
2018-07-30  6:59 ` [patch 3/3] MdeModulePkg/PeiPerformancePpiLib: Add PeiPerformancePpiLib 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=20180730065905.9152-1-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