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

Method AddStackTracingWith

internal/etw/stackext.go:48–52  ·  view source on GitHub ↗

AddStackTracingWith enables stack tracing for the specified provider GUID and event hook id.

(guid windows.GUID, hookID uint16)

Source from the content-addressed store, hash-verified

46
47// AddStackTracingWith enables stack tracing for the specified provider GUID and event hook id.
48func (s *StackExtensions) AddStackTracingWith(guid windows.GUID, hookID uint16) {
49 if !s.config.TestDropMask(event.TypeFromParts(guid, hookID)) {
50 s.ids = append(s.ids, etw.NewClassicEventID(guid, hookID))
51 }
52}
53
54// EventIds returns all event types eligible for stack tracing.
55func (s *StackExtensions) EventIds() []etw.ClassicEventID { return s.ids }

Callers 1

Calls 3

TypeFromPartsFunction · 0.92
NewClassicEventIDFunction · 0.92
TestDropMaskMethod · 0.80

Tested by

no test coverage detected