parse

package
v0.0.0-...-59f1ad4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: GPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BootTime time.Time
View Source
var KsymsParser *kallsyms.KAllSyms
View Source
var Tracer trace.Tracer

Functions

func GetPlantEntry

func GetPlantEntry()

func IngestRecord

func IngestRecord(record *ringbuf.Record)

func IngestRecordv2

func IngestRecordv2(record *ringbuf.Record)

func ParseAllEntry

func ParseAllEntry()

Types

type Entry

type Entry struct {
	Name       string
	Flag       uint64
	Ktime      uint64
	Skb        uint64
	Cpu        uint64
	TPid       uint64
	Addr       uint64
	Ret        uint64
	Depth      int
	StackRaw   []uint64
	StackNames []string
}

type SkbEntry

type SkbEntry map[uint64]TpidEntry
var AllEntry SkbEntry

type SkbMap

type SkbMap map[uint64]SkbStack
var GlobalMap SkbMap

type SkbStack

type SkbStack struct {
	Skb       uint64
	CallStack []SkbStackNode
}

func (*SkbStack) Init

func (s *SkbStack) Init()

type SkbStackNode

type SkbStackNode struct {
	Name string
	TPid uint64

	Flag       uint64
	Ktime      uint64
	Skb        uint64
	Addr       uint64
	Ret        uint64
	StackNames []string
	CallStack  []SkbStackNode
}

func BuildStackNodeFromRecord

func BuildStackNodeFromRecord(record *ringbuf.Record) SkbStackNode

type TpidEntry

type TpidEntry map[uint64][]Entry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL