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

Method Depth

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

Depth returns the number of frames in the call stack.

()

Source from the content-addressed store, hash-verified

202
203// Depth returns the number of frames in the call stack.
204func (s *Callstack) Depth() int { return len(*s) }
205
206// IsEmpty returns true if the callstack has no frames.
207func (s *Callstack) IsEmpty() bool { return s.Depth() == 0 }

Callers 7

ColorizeMethod · 0.95
TestCallstackFunction · 0.95
IsEmptyMethod · 0.95
FinalUserFrameMethod · 0.95
FinalUserspaceFrameMethod · 0.95
FinalKernelFrameMethod · 0.95
GetMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestCallstackFunction · 0.76