MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / Module

Struct Module

user/module/imodule.go:52–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52type Module struct {
53 opts *ebpf.CollectionOptions
54 reader []IClose
55 ctx context.Context
56 logger *log.Logger
57 child IModule
58 // probe的名字
59 name string
60
61 // module的类型,uprobe,kprobe等
62 mType string
63
64 mconf *config.ModuleConfig
65
66 processor *event_processor.EventProcessor
67
68 TotalLost uint64
69}
70
71// Init 对象初始化
72func (this *Module) Init(ctx context.Context, logger *log.Logger, conf config.IConfig) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected