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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-