KeStopProfile
UINT8 __stdcall KeStopProfile(_KPROFILE *Profile){
ULONG_PTR Context[2];
int v3;
int v4;
int v5;
_DWORD v6[45];
v4 = KeNumberProcessors_0;
*(_QWORD *)Context = Profile;
v3 = KeNumberProcessors_0;
v5 = 1310721;
memset(v6, 0, sizeof(v6));
if( (unsigned int)KeNumberProcessors_0 <= 1 )
KiStopProfileTarget((UINT64)Context);
else
KeIpiGenericCall((PKIPI_BROADCAST_WORKER)KiStopProfileTarget, (ULONG_PTR)Context);
if( *(_QWORD *)&v6[41] )
ExFreePoolWithTag(*(PVOID *)&v6[41], 0);
return v6[43];
}Referenced by:
EtwpCoverageSamplerStop
EtwpDisableKernelTrace
ExpProfileDelete
NtStopProfile