mirror of https://github.com/acidanthera/audk.git
ede0bd1496
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> |
||
---|---|---|
.. | ||
Aesni.c | ||
C1e.c | ||
ClockModulation.c | ||
CpuCommonFeatures.h | ||
CpuCommonFeaturesLib.c | ||
CpuCommonFeaturesLib.inf | ||
CpuCommonFeaturesLib.uni | ||
Eist.c | ||
FastStrings.c | ||
FeatureControl.c | ||
LimitCpuIdMaxval.c | ||
MachineCheck.c | ||
MonitorMwait.c | ||
PendingBreak.c | ||
Ppin.c | ||
ProcTrace.c | ||
X2Apic.c |