PfpPowerActionStartScenarioTracing

VOID __stdcall PfpPowerActionStartScenarioTracing(_PFP_SCENARIO_CONTEXT *ScenCtx){
  _PF_KERNEL_GLOBALS *v1; 
  __int64 v3; 
  __int64 v4; 
  __int64 v5; 

  PfTAccessTracingCleanup((_PFP_TRACING_GLOBALS *)&stru_140C4DB30 + 1908, v1, PfpTraceStopSuspend);
  MmPerformMemoryListCommand(MemoryCaptureAndResetAccessedBits);
  PfTAccessTracingStart((_PFP_TRACING_GLOBALS *)&stru_140C4DB30 + 1908, &PfKernelGlobals, PfpTraceStopSuspend);
  v3 = ScenCtx[12];
  v5 = 0i64;
  v4 = v3;
  LODWORD(v5) = 4 * (unsigned __int16)ScenCtx[13];
  PfLogEvent(
    27,
    dword_140C5001C
  + ((((KUSER_SHARED_DATA.TickCountMultiplier * (unsigned __int64)KUSER_SHARED_DATA.ReservedTickCountOverlay[1]) << 8)
    + ((KUSER_SHARED_DATA.TickCountMultiplier * (unsigned __int64)KUSER_SHARED_DATA.TickCount.LowPart) >> 24)) >> 10),
    &v4,
    0x10u);
}

Referenced by:

PfPowerActionNotify