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

Method Init

pkg/callstack/callstack.go:183–185  ·  view source on GitHub ↗

Init allocates the initial callstack capacity.

(n int)

Source from the content-addressed store, hash-verified

181
182// Init allocates the initial callstack capacity.
183func (s *Callstack) Init(n int) {
184 *s = make(Callstack, 0, n)
185}
186
187// PushFrame pushes a new from to the call stack.
188func (s *Callstack) PushFrame(f Frame) {

Callers 1

TestCallstackFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestCallstackFunction · 0.76