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

Method SetModes

pkg/sys/etw/types.go:447–449  ·  view source on GitHub ↗

SetModes sets the event processing modes.

(modes int)

Source from the content-addressed store, hash-verified

445
446// SetModes sets the event processing modes.
447func (e *EventTraceLogfile) SetModes(modes int) {
448 *(*uint32)(unsafe.Pointer(&e.LogFileMode[0])) = uint32(modes)
449}
450
451// SetEventCallback sets the event processing callback.
452func (e *EventTraceLogfile) SetEventCallback(fn uintptr) {

Callers 1

OpenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected