MCPcopy Index your code
hub / github.com/rabbitstack/fibratus / PushFrame

Method PushFrame

pkg/callstack/callstack.go:188–193  ·  view source on GitHub ↗

PushFrame pushes a new from to the call stack.

(f Frame)

Source from the content-addressed store, hash-verified

186
187// PushFrame pushes a new from to the call stack.
188func (s *Callstack) PushFrame(f Frame) {
189 if f.Module == "" {
190 f.Module = unbacked
191 }
192 *s = append(*s, f)
193}
194
195// FrameAt returns the stack frame at the specified index.
196func (s *Callstack) FrameAt(i int) Frame {

Callers 5

TestCallstackFunction · 0.95
callstackFromFramesFunction · 0.95
callstackFromFramesFunction · 0.95
TestThreadFilterFunction · 0.80
pushFramesMethod · 0.80

Calls

no outgoing calls

Tested by 4

TestCallstackFunction · 0.76
callstackFromFramesFunction · 0.76
callstackFromFramesFunction · 0.76
TestThreadFilterFunction · 0.64