Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 61e2c8342443303e6e50e7ce75b5971e88413573
      
https://github.com/tianocore/edk2/commit/61e2c8342443303e6e50e7ce75b5971e88413573
  Author: Dun Tan <dun....@intel.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
    M UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
    M UefiCpuPkg/UefiCpuPkg.dec

  Log Message:
  -----------
  UefiCpuPkg: Update code to support enable ProcTrace only on BSP

Update code to support enable ProcTrace only on BSP. Add a new
dynamic PCD to indicate if enable ProcTrace only on BSP. In
ProcTrace.c code, if this new PCD is true, only allocate buffer
and set CtrlReg.Bits.TraceEn to 1 for BSP.

Bugzila: https://bugzilla.tianocore.org/show_bug.cgi?id=4423
Signed-off-by: Dun Tan <dun....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Xiao X Chen <xiao.x.c...@intel.com>


  Commit: ede0bd1496405f72147308b9570efba0234349b2
      
https://github.com/tianocore/edk2/commit/ede0bd1496405f72147308b9570efba0234349b2
  Author: Dun Tan <dun....@intel.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M UefiCpuPkg/Library/CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf
    M UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace.c
    M UefiCpuPkg/UefiCpuPkg.dec

  Log Message:
  -----------
  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....@intel.com>
Cc: Eric Dong <eric.d...@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>
Cc: Rahul Kumar <rahul1.ku...@intel.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Xiao X Chen <xiao.x.c...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/5a349b96b171...ede0bd149640


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to