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

Method AddStackTracing

internal/etw/stackext.go:41–45  ·  view source on GitHub ↗

AddStackTracing enables stack tracing for the specified event type.

(typ event.Type)

Source from the content-addressed store, hash-verified

39
40// AddStackTracing enables stack tracing for the specified event type.
41func (s *StackExtensions) AddStackTracing(typ event.Type) {
42 if !s.config.TestDropMask(typ) {
43 s.ids = append(s.ids, etw.NewClassicEventID(typ.GUID(), typ.HookID()))
44 }
45}
46
47// AddStackTracingWith enables stack tracing for the specified provider GUID and event hook id.
48func (s *StackExtensions) AddStackTracingWith(guid windows.GUID, hookID uint16) {

Callers 5

EnableFileCallstackMethod · 0.95
EnableMemoryCallstackMethod · 0.95

Calls 4

NewClassicEventIDFunction · 0.92
TestDropMaskMethod · 0.80
GUIDMethod · 0.80
HookIDMethod · 0.45

Tested by

no test coverage detected