> On Apr 15, 2015, at 7:47 PM, Zeng, Star <star.z...@intel.com> wrote:
>
> Thanks for all your comments, and we will take effort to enhance the
> DxeSmmPerformanceLib library instance.
>
> For name, I think DxeSmmPerformanceLib is ok.
> First, for compatibility.
> Second, this library instance will to consume performanceprotocol and
> smmcommunication to get performance data, DxeCorePerforamnceLib will collect
> PEI and DXE performance data, but it doesn’t have PEI prefix,
> DxePerformanceLib consumes performanceprotocol also has no PEI prefix.
>
I agree, the name should match to environments the code can execute in, not the
data it collects. Otherwise every driver that consumed a HOB would need PEI in
its name.
Thanks,
Andrew Fish
> Thanks,
> Star
> From: Anbazhagan, Baraneedharan [mailto:anbazha...@hp.com]
> Sent: Thursday, April 16, 2015 10:34 AM
> To: edk2-devel@lists.sourceforge.net
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> Yes, that would be helpful to have single UEFI application to provide timing
> info of all the drivers. Thanks.
>
> -Baranee
>
> From: Yao, Jiewen [mailto:jiewen....@intel.com <mailto:jiewen....@intel.com>]
> Sent: Wednesday, April 15, 2015 8:52 PM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> That would be great.
>
> Do you think PeiDxeSmmPerformance will be better name for that? J
>
> Thank you
> Yao Jiewen
>
> From: Zeng, Star [mailto:star.z...@intel.com <mailto:star.z...@intel.com>]
> Sent: Thursday, April 16, 2015 9:34 AM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> Yes, DxeSmmPerformance should could be enhanced to support dump PEI/DXE/SMM
> performance data altogether.
>
> Thanks,
> Star
> From: Yao, Jiewen [mailto:jiewen....@intel.com <mailto:jiewen....@intel.com>]
> Sent: Thursday, April 16, 2015 9:15 AM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> Hi
> I do not think it is good design.
>
> Can we have one library instance to dump PEI/DXE/SMM performance data
> altogether?
>
> If so, it will make developer easy to view all perf data in one place.
>
> Thank you
> Yao Jiewen
>
> From: Zeng, Star [mailto:star.z...@intel.com <mailto:star.z...@intel.com>]
> Sent: Thursday, April 16, 2015 8:44 AM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> It depends on which PerformanceLib the DP application linked. For example, if
> DxePerfrmanceLib(MdeModulePkg\Library\DxePerformanceLib) got linked, it will
> try to dump PEI and DXE performance data; and if
> DxeSmmPerfrmanceLib(MdeModulePkg\Library\DxeSmmPerformanceLib) got linked,
> then SMM performance data expected.
>
> Thanks,
> Star
> From: Anbazhagan, Baraneedharan [mailto:anbazha...@hp.com
> <mailto:anbazha...@hp.com>]
> Sent: Thursday, April 16, 2015 5:02 AM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> Thanks for the update. Whether current DP application provide timing of all
> drivers? Or we need separate application to measure SMM drivers since DP
> application is tied to PerformanceLib.
>
> -Baranee
>
> From: Zeng, Star [mailto:star.z...@intel.com <mailto:star.z...@intel.com>]
> Sent: Tuesday, April 14, 2015 7:41 PM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: Re: [edk2] SmmCorePerformanceLib
>
> You need to use PiSmmCoreSmmServicesTableLib SmmServicesTableLib instance.
>
> From: Anbazhagan, Baraneedharan [mailto:anbazha...@hp.com
> <mailto:anbazha...@hp.com>]
> Sent: Tuesday, April 14, 2015 8:30 PM
> To: edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
> Subject: [edk2] SmmCorePerformanceLib
>
> SmmCorePerformaceLib is using SmmServicesTableLib which cannot be used in
> SMM_CORE modules(SVN#10183) and leads to build error. SmmCorePerformaceLib
> needs to access SmmAllocatePool, SmmInstallProtocolInterface and
> SmiHandlerRegister without gSmst – either integrate SmmCorePerformaceLib as
> part of PiSmmCore or mark those functions as extern.
>
> -Baranee
>
> CONFIDENTIALITY NOTICE: The information contained in this e-mail and any
> accompanying documents may contain information which is HP confidential or
> otherwise protected from disclosure. This transmission may also be protected
> by the attorney-client privilege, the attorney work-product privilege, or
> both. If you are not the intended recipient of this message, or if this
> message has been addressed to you in error, please immediately alert the
> sender by reply e-mail and then delete this message, including any
> attachments. Any dissemination, distribution or other use of the contents of
> this message by anyone other than the intended recipient is strictly
> prohibited.
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel