PfTSetTracingPriority

VOID __stdcall PfTSetTracingPriority(UINT64 MinLoggingPriority){
  _ETHREAD *CurrentThread; 
  unsigned int v2; 

  CurrentThread = (_ETHREAD *)KeGetCurrentThread();
  v2 = MinLoggingPriority;
  --CurrentThread->Tcb.KernelApcDisable;
  ExAcquirePushLockExclusiveEx((_EX_PUSH_LOCK *)&stru_140C4DB30 + 956, 0i64);
  MmSetAccessLogging(*(&stru_140C4DB30 + 1911) == 0, v2);
  if( (_InterlockedExchangeAdd64((_QWORD *)&stru_140C4DB30 + 956, 0xFFFFFFFFFFFFFFFFui64) & 6) == 2 )
    ExfTryToWakePushLock((_EX_PUSH_LOCK *)&stru_140C4DB30 + 956);
  KeAbPostRelease((char *)&stru_140C4DB30 + 7648);
  KeLeaveCriticalRegion();
}

Referenced by:

PfpLogEventRequest