KeInitializeProfileCallback

VOID __stdcall KeInitializeProfileCallback(
        _KPROFILE *Profile,
        VOID *Callback,
        _KTRAP_FRAME *a3,
        VOID *a4,
        VOID *Context,
        _KPROFILE_SOURCE ProfileSource){
  __int16 v8; 

  v8 = (__int16)a4;
  memset(Profile, 0i64, 0xF8u);
  *Profile = 16252945;
  *((_QWORD *)Profile + 4) = Callback;
  *((_QWORD *)Profile + 5) = a3;
  *((_WORD *)Profile + 120) = v8;
  KeCopyAffinityEx((_KAFFINITY_EX *)(Profile + 18), &KeActiveProcessors);
}

Referenced by:

EtwpCoverageSamplerStart
EtwpSetPmcProfileSource