sys: improve trace functionality

This commit is contained in:
Bill Zissimopoulos
2021-01-25 13:11:10 -08:00
parent 0af0bfbe7c
commit c5b850be35
2 changed files with 6 additions and 2 deletions

View File

@ -126,10 +126,14 @@ VOID FspTraceInitialize(VOID)
OPEN_EVENT(LowPagedPoolCondition);
#undef OPEN_EVENT
FSP_TRACE();
}
VOID FspTraceFinalize(VOID)
{
FSP_TRACE();
#define CLOSE_EVENT(NAME) \
(FspCloseEvent(Fsp ## NAME.Event, Fsp ## NAME.Handle), Fsp ## NAME.Event = 0, Fsp ## NAME.Handle = 0)