MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / IsGUIDEmpty

Method IsGUIDEmpty

internal/etw/trace.go:234–239  ·  view source on GitHub ↗

IsGUIDEmpty determines if the provider GUID is empty.

()

Source from the content-addressed store, hash-verified

232
233// IsGUIDEmpty determines if the provider GUID is empty.
234func (t *Trace) IsGUIDEmpty() bool {
235 return t.GUID.Data1 == 0 &&
236 t.GUID.Data2 == 0 &&
237 t.GUID.Data3 == 0 &&
238 t.GUID.Data4 == [8]byte{}
239}
240
241func (t *Trace) enableCallstacks() {
242 if t.IsKernelTrace() {

Callers 1

StartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected