PopDiagTraceSleepStudyStart
VOID __fastcall PopDiagTraceSleepStudyStart(INT64 a1, UNICODE_STRING *a2){
EVENT_DESCRIPTOR *v2;
int ModernStandbyTransitionReason;
char v4;
int v5;
__int64 v6;
EVENT_DATA_DESCRIPTOR UserData;
char *v8;
int v9;
int v10;
int *v11;
int v12;
int v13;
_MMPFN **v14;
int v15;
int v16;
int *v17;
int v18;
int v19;
__int64 *v20;
int v21;
int v22;
__int64 v23;
int v24;
int v25;
__int64 *v26;
int v27;
int v28;
if( PopDiagHandleRegistered )
{
if( EtwEventEnabled(PopDiagHandle, (EVENT_DESCRIPTOR *)&POP_ETW_EVENT_SPM_SCENARIO_START, v2) )
{
UserData.Reserved = 0;
v10 = 0;
v6 = *(_QWORD *)&KUSER_SHARED_DATA.SystemTime.LowPart;
UserData.Ptr = PopWdiCurrentScenario;
v4 = PopWdiCurrentScenarioInstanceId;
v8 = &v4;
UserData.Size = 16;
v9 = 1;
ModernStandbyTransitionReason = PopGetModernStandbyTransitionReason(1, 0i64);
v13 = 0;
v16 = 0;
v19 = 0;
v22 = 0;
v25 = 0;
v28 = 0;
v5 = ModernStandbyTransitionReason;
v12 = 4;
v11 = &v5;
v14 = &PopCsConsumption;
v17 = &dword_140C4FD10;
v20 = &PopWdiCurrentScenarioInstanceId;
v23 = 0xFFFFF780000002C4ui64;
v26 = &v6;
v15 = 4;
v18 = 4;
v24 = 4;
v21 = 8;
v27 = 8;
EtwWrite(
PopDiagHandle,
(EVENT_DESCRIPTOR *)&POP_ETW_EVENT_SPM_SCENARIO_START,
&PopDiagActivityId,
8ui64,
&UserData);
}
}
}Referenced by:
PopSleepstudyScenarioStopWorker
PopSleepstudyStartNextSession