x64x86arm64ia64 / ntdllntoskrnl

_WMI_LOGGER_CONTEXT

← 10.0.18362.1016 15 builds latest →
struct _WMI_LOGGER_CONTEXT {
unsigned long LoggerId;/* 0x0 4 */
unsigned long BufferSize;/* 0x4 4 */
unsigned long MaximumEventSize;/* 0x8 4 */
unsigned long LoggerMode;/* 0xc 4 */
long AcceptNewEvents;/* 0x10 4 */
unsigned long EventMarker[1];/* 0x14 4 */
unsigned long ErrorMarker;/* 0x18 4 */
unsigned long SizeMask;/* 0x1c 4 */
unsigned long GetCpuClock;/* 0x20 4 */
long LoggerStatus;/* 0x28 4 */
unsigned long FailureReason;/* 0x2c 4 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned long DecodeControlCount;/* 0x54 4 */
union {
};/* 0x58 4 */
unsigned long ClockType;/* 0x7c 4 */
/* ── cacheline 2 boundary (128 bytes) ── */
unsigned long LastFlushedBuffer;/* 0x80 4 */
unsigned long FlushTimer;/* 0x84 4 */
unsigned long FlushThreshold;/* 0x88 4 */
/* 4 bytes padding */
unsigned long MinimumBuffers;/* 0x98 4 */
volatile long BuffersAvailable;/* 0x9c 4 */
volatile long NumberOfBuffers;/* 0xa0 4 */
unsigned long MaximumBuffers;/* 0xa4 4 */
volatile unsigned long EventsLost;/* 0xa8 4 */
volatile long PeakBuffersCount;/* 0xac 4 */
unsigned long BuffersWritten;/* 0xb0 4 */
unsigned long LogBuffersLost;/* 0xb4 4 */
unsigned long RealTimeBuffersDelivered;/* 0xb8 4 */
unsigned long RealTimeBuffersLost;/* 0xbc 4 */
/* ── cacheline 3 boundary (192 bytes) ── */
long* SequencePtr;/* 0xc0 4 */
unsigned long LocalSequence;/* 0xc4 4 */
unsigned long MaximumFileSize;/* 0xd8 4 */
long FileCounter;/* 0xdc 4 */
/* 4 bytes padding */
long CollectionOn;/* 0xf8 4 */
unsigned long ProviderInfoSize;/* 0xfc 4 */
/* ── cacheline 4 boundary (256 bytes) ── */
unsigned long NumConsumers;/* 0x108 4 */
void* RealtimeLogfileHandle;/* 0x110 4 */
/* 4 bytes padding */
unsigned __int64 RealtimeLogfileUsage;/* 0x138 8 */
/* ── cacheline 5 boundary (320 bytes) ── */
unsigned __int64 RealtimeMaximumFileSize;/* 0x140 8 */
unsigned long RealtimeBuffersSaved;/* 0x148 4 */
/* 4 bytes padding */
/* 4 bytes padding */
/* ── cacheline 6 boundary (384 bytes) ── */
/* ── cacheline 7 boundary (448 bytes) ── */
union {
unsigned long BufferListSpinLock;/* 0x1f4 4 */
};/* 0x1f4 4 */
/* ── cacheline 8 boundary (512 bytes) ── */
/* 4 bytes padding */
/* ── cacheline 9 boundary (576 bytes) ── */
void* LogFileHandle;/* 0x248 4 */
/* 4 bytes padding */
__int64 BufferSequenceNumber;/* 0x250 8 */
union {
unsigned long Flags;/* 0x258 4 */
struct {
unsigned long Persistent : 1;/* 0x258:0 4 */
unsigned long AutoLogger : 1;/* 0x258:1 4 */
unsigned long FsReady : 1;/* 0x258:2 4 */
unsigned long RealTime : 1;/* 0x258:3 4 */
unsigned long Wow : 1;/* 0x258:4 4 */
unsigned long KernelTrace : 1;/* 0x258:5 4 */
unsigned long NoMoreEnable : 1;/* 0x258:6 4 */
unsigned long StackTracing : 1;/* 0x258:7 4 */
unsigned long ErrorLogged : 1;/* 0x258:8 4 */
unsigned long RealtimeLoggerContextFreed : 1;/* 0x258:9 4 */
unsigned long PebsTracing : 1;/* 0x258:10 4 */
unsigned long PmcCounters : 1;/* 0x258:11 4 */
unsigned long PageAlignBuffers : 1;/* 0x258:12 4 */
unsigned long StackLookasideListAllocated : 1;/* 0x258:13 4 */
unsigned long SecurityTrace : 1;/* 0x258:14 4 */
unsigned long LastBranchTracing : 1;/* 0x258:15 4 */
unsigned long SystemLoggerIndex : 8;/* 0x258:16 4 */
unsigned long StackCaching : 1;/* 0x258:24 4 */
unsigned long ProviderTracking : 1;/* 0x258:25 4 */
unsigned long ProcessorTrace : 1;/* 0x258:26 4 */
unsigned long QpcDeltaTracking : 1;/* 0x258:27 4 */
unsigned long MarkerBufferSaved : 1;/* 0x258:28 4 */
unsigned long LargeMdlPages : 1;/* 0x258:29 4 */
unsigned long ExcludeKernelStack : 1;/* 0x258:30 4 */
unsigned long SpareFlags2 : 1;/* 0x258:31 4 */
};/* 0x258 4 */
};/* 0x258 4 */
union {
volatile unsigned long RequestFlag;/* 0x25c 4 */
struct {
unsigned long DbgRequestNewFile : 1;/* 0x25c:0 4 */
unsigned long DbgRequestUpdateFile : 1;/* 0x25c:1 4 */
unsigned long DbgRequestFlush : 1;/* 0x25c:2 4 */
unsigned long DbgRequestDisableRealtime : 1;/* 0x25c:3 4 */
unsigned long DbgRequestDisconnectConsumer : 1;/* 0x25c:4 4 */
unsigned long DbgRequestConnectConsumer : 1;/* 0x25c:5 4 */
unsigned long DbgRequestNotifyConsumer : 1;/* 0x25c:6 4 */
unsigned long DbgRequestUpdateHeader : 1;/* 0x25c:7 4 */
unsigned long DbgRequestDeferredFlush : 1;/* 0x25c:8 4 */
unsigned long DbgRequestDeferredFlushTimer : 1;/* 0x25c:9 4 */
unsigned long DbgRequestFlushTimer : 1;/* 0x25c:10 4 */
unsigned long DbgRequestUpdateDebugger : 1;/* 0x25c:11 4 */
unsigned long DbgSpareRequestFlags : 20;/* 0x25c:12 4 */
};/* 0x25c 4 */
};/* 0x25c 4 */
/* ── cacheline 10 boundary (640 bytes) ── */
/* ── cacheline 11 boundary (704 bytes) ── */
long CompressionWorkItemState;/* 0x2f8 4 */
/* ── cacheline 12 boundary (768 bytes) ── */
void* CompressionWorkspace;/* 0x304 4 */
long CompressionOn;/* 0x308 4 */
unsigned long CompressionRatioGuess;/* 0x30c 4 */
unsigned long PartialBufferCompressionLevel;/* 0x310 4 */
/* 4 bytes padding */
/* ── cacheline 13 boundary (832 bytes) ── */
__int64 ReferenceQpcDelta;/* 0x358 8 */
/* 4 bytes padding */
__int64 FlushingSequenceNumber;/* 0x370 8 */
};
size 896 (0x380)148 members9 holes (36 bytes)padding 014 cachelines
Used in (1)