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

Method FinalKernelFrame

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

FinalKernelFrame returns the final kernel space frame.

()

Source from the content-addressed store, hash-verified

253
254// FinalKernelFrame returns the final kernel space frame.
255func (s *Callstack) FinalKernelFrame() *Frame {
256 if s.IsEmpty() {
257 return nil
258 }
259 return &(*s)[s.Depth()-1]
260}
261
262// Summary returns a sequence of non-repeated module names.
263func (s Callstack) Summary() string {

Callers 2

TestCallstackFunction · 0.95
GetMethod · 0.80

Calls 2

IsEmptyMethod · 0.95
DepthMethod · 0.95

Tested by 1

TestCallstackFunction · 0.76