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 <osde@microsoft.com>
This commit is contained in:
Oliver Smith-Denny 2026-01-22 07:29:58 -08:00 committed by mergify[bot]
parent 3a46febf9b
commit ffa6fc362a

View file

@ -512,8 +512,6 @@ MmEntryPoint (
UINTN CommGuidOffset;
UINTN CommHeaderSize;
DEBUG ((DEBUG_INFO, "MmEntryPoint ...\n"));
//
// Update MMST using the context
//
@ -642,8 +640,6 @@ MmEntryPoint (
//
// TBD: Do not use private data structure ?
//
DEBUG ((DEBUG_INFO, "MmEntryPoint Done\n"));
}
/** Register the MM Entry Point provided by the MM Core with the