audk/UefiCpuPkg/Library/CpuCommonFeaturesLib
Dun Tan ede0bd1496 UefiCpuPkg: Update PT code to support enable collect performance
Update ProcTrace feature code to support enable collect performance
data by generating CYC and TSC packets. Add a new dynamic
PCD to indicate if enable performance collecting. In ProcTrace.c
code, if this new PCD is true, after check cpuid, CYC and TSC
packets will be generated by setting the corresponding MSR bits
feilds if supported.

Bugzila: https://bugzilla.tianocore.org/show_bug.cgi?id=4423
Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Xiao X Chen <xiao.x.chen@intel.com>
2023-04-26 09:19:51 +00:00
..
Aesni.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
C1e.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ClockModulation.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuCommonFeatures.h UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuCommonFeaturesLib.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuCommonFeaturesLib.inf UefiCpuPkg: Update PT code to support enable collect performance 2023-04-26 09:19:51 +00:00
CpuCommonFeaturesLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
Eist.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FastStrings.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
FeatureControl.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LimitCpuIdMaxval.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MachineCheck.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MonitorMwait.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PendingBreak.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Ppin.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ProcTrace.c UefiCpuPkg: Update PT code to support enable collect performance 2023-04-26 09:19:51 +00:00
X2Apic.c UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00