Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: ffa6fc362aaf0e8d0bb3344e2d2cbe87aaa75531
      
https://github.com/tianocore/edk2/commit/ffa6fc362aaf0e8d0bb3344e2d2cbe87aaa75531
  Author: Oliver Smith-Denny <[email protected]>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M StandaloneMmPkg/Core/StandaloneMmCore.c

  Log Message:
  -----------
  StandaloneMmPkg: StandaloneMmCore: Don't Print Entry/Exit Logs

Currently, StandaloneMmCore prints for every MM entry and exit
as well as producing protocols for MM entry and exit that get
logged. So there are four logs for every MM entry/exit pair.

In a sample OVMF run with StMM enabled, this produced 6,800 logs
to log MM entry/exit out of 16,400 logs. In other words, > 1/3
of logs were for these prints.

In general, entry and exit logs are not that useful outside of
very specific debugging scenarios

This commit drops the entry/exit prints.

Signed-off-by: Oliver Smith-Denny <[email protected]>


  Commit: f0eade598462400380cdd191e0b4b5aeade6ec68
      
https://github.com/tianocore/edk2/commit/f0eade598462400380cdd191e0b4b5aeade6ec68
  Author: Oliver Smith-Denny <[email protected]>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M StandaloneMmPkg/Core/Handle.c

  Log Message:
  -----------
  StandaloneMmPkg: StandaloneMmCore: Log MM Entry/Exit Protocol at Verbose

Currently, StandaloneMmCore prints for every MM entry and exit
as well as producing protocols for MM entry and exit that get
logged. So there are four logs for every MM entry/exit pair.

In a sample OVMF run with StMM enabled, this produced 6800 logs
to log MM entry/exit out of 16,400 logs. In other words, > 1/3
of logs were for these prints.

Protocol install notifications are useful, but not for these ones
that are just entry and exit notifies.

This commit only logs at verbose level if the protocol installed
is the entry or exit protocol.

Signed-off-by: Oliver Smith-Denny <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/3a46febf9b82...f0eade598462

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to