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

Method EnableRegistryCallstack

internal/etw/stackext.go:90–97  ·  view source on GitHub ↗

EnableRegistryCallstack populates the stack identifiers with event types eligible for publishing call stack return addresses for registry operations.

()

Source from the content-addressed store, hash-verified

88// with event types eligible for publishing call stack
89// return addresses for registry operations.
90func (s *StackExtensions) EnableRegistryCallstack() {
91 if s.config.EnableRegistryEvents {
92 s.AddStackTracing(event.RegCreateKey)
93 s.AddStackTracing(event.RegDeleteKey)
94 s.AddStackTracing(event.RegSetValue)
95 s.AddStackTracing(event.RegDeleteValue)
96 }
97}
98
99// EnableMemoryCallstack enables stack tracing for the memory
100// events such as memory allocations.

Callers 2

TestStackExtensionsFunction · 0.95
enableCallstacksMethod · 0.80

Calls 1

AddStackTracingMethod · 0.95

Tested by 1

TestStackExtensionsFunction · 0.76