CmpTraceHiveFlushWrotePrimaryFile
VOID __stdcall CmpTraceHiveFlushWrotePrimaryFile(UINT64 WritesIssued, UINT64 BytesWritten){
EVENT_DESCRIPTOR *v2;
UINT64 v3;
EVENT_DESCRIPTOR EventDescriptor;
EVENT_DATA_DESCRIPTOR UserData;
int *v6;
int v7;
int v8;
int v9;
int v10;
v10 = BytesWritten;
v9 = WritesIssued;
v3 = EtwpRegTraceHandle;
EventDescriptor = (EVENT_DESCRIPTOR)REGISTRY_PERF_EVENT_HIVE_FLUSH_WROTE_PRIMARY_FILE;
if( EtwEventEnabled(EtwpRegTraceHandle, &EventDescriptor, v2) )
{
UserData.Reserved = 0;
v8 = 0;
UserData.Ptr = (unsigned __int64)&v9;
UserData.Size = 4;
v6 = &v10;
v7 = 4;
EtwWrite(v3, &EventDescriptor, 0i64, 2ui64, &UserData);
}
}Referenced by:
HvWriteHivePrimaryFile