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

Method IsEmpty

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

IsEmpty returns true if the callstack has no frames.

()

Source from the content-addressed store, hash-verified

205
206// IsEmpty returns true if the callstack has no frames.
207func (s *Callstack) IsEmpty() bool { return s.Depth() == 0 }
208
209// FinalUserFrame returns the final frame that corresponds
210// to the user code execution. That usually translates to

Callers 11

ColorizeMethod · 0.95
FinalUserFrameMethod · 0.95
FinalUserspaceFrameMethod · 0.95
FinalKernelFrameMethod · 0.95
framePIDFunction · 0.80
IsFieldAccessibleMethod · 0.80
CallMethod · 0.80
ScanMethod · 0.80
FormatMethod · 0.80
EvalMethod · 0.80
EvalMethod · 0.80

Calls 1

DepthMethod · 0.95

Tested by

no test coverage detected