Documentation ¶
Index ¶
- Constants
- type Event
- func NewEvent(class Type, name string, fnName string) *Event
- func NewKprobeEvent(name string, fnName string, maxActive int) *Event
- func NewKretprobeEvent(name string, fnName string, maxActive int) *Event
- func NewUprobeEvent(name, fnName, fileName string, pid int) *Event
- func NewUretprobeEvent(name, fnName, fileName string, pid int) *Event
- type KprobeEvent
- type KretprobeEvent
- type Module
- type PreParam
- type Type
- type UprobeEvent
- type UretprobeEvent
Constants ¶
View Source
const ( KprobeType = Type(iota) // kprobe KretprobeType // kretprobe UprobeType // uprobe UretprobeType // uretprobe )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Class Type // 事件类型 Name string // 事件名称 FnName string // 函数名称 // contains filtered or unexported fields }
func NewUprobeEvent ¶
NewUprobeEvent 创建 UprobeEvent, name: ebpf 对应的函数名, fnName: 用户程序目标函数, fileName: 用户程序路径, pid: 进程 pid
func NewUretprobeEvent ¶
type KprobeEvent ¶
type KprobeEvent struct {
// contains filtered or unexported fields
}
type KretprobeEvent ¶
type KretprobeEvent struct {
KprobeEvent
}
type Module ¶
type UprobeEvent ¶
type UprobeEvent struct {
// contains filtered or unexported fields
}
type UretprobeEvent ¶
type UretprobeEvent struct {
UprobeEvent
}
Click to show internal directories.
Click to hide internal directories.