[edk2-devel] [Patch V2 0/2] Update ProcTrace feature code for new requirements.

duntan posted 2 patches 1 year ago
Failed in applying to current master (apply log)
There is a newer version of this series
UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf |  12 +++++++-----
UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c              | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------
UefiCpuPkg/UefiCpuPkg.dec                                        |  15 +++++++++++++++
3 files changed, 155 insertions(+), 72 deletions(-)
[edk2-devel] [Patch V2 0/2] Update ProcTrace feature code for new requirements.
Posted by duntan 1 year ago
In V2 patch set:
1.Remove the patch to set MTC to 0.
2.Updated 'Update code to support enable ProcTrace only on BSP' based on Ray's comments.
  PCD name is updated to PcdCpuProcTraceBspOnly and cache the value in ConfigData.
  Use MemRegionBaseAddr and TopaTableBaseAddr instead of the unused local variable to record buffer address.
  
3.Updated 'Update PT code to support enable collect performance' based on Ray's comments.
  PCD name is updated to PcdCpuProcTracePerformanceCollecting and cache the value in ConfigData
  Also, if CYC packet is supported is checked in Support function and recorded in ProcTraceData->ProcessorData


Dun Tan (2):
  UefiCpuPkg: Update code to support enable ProcTrace only on BSP
  UefiCpuPkg: Update PT code to support enable collect performance

 UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf |  12 +++++++-----
 UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c              | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------
 UefiCpuPkg/UefiCpuPkg.dec                                        |  15 +++++++++++++++
 3 files changed, 155 insertions(+), 72 deletions(-)

-- 
2.39.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#103535): https://edk2.groups.io/g/devel/message/103535
Mute This Topic: https://groups.io/mt/98489086/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-