Documentation
¶
Overview ¶
generated - do not edit
Index ¶
- Constants
- type Connection
- type ConnectionId
- type ELFFile
- type Event
- type EventReason
- type EventType
- type NodejsStats
- type PythonStats
- type Symbol
- func (s *Symbol) Address() uint64
- func (s *Symbol) AttachUprobe(exe *link.Executable, prog *ebpf.Program, pid uint32) (link.Link, error)
- func (s *Symbol) AttachUretprobes(exe *link.Executable, prog *ebpf.Program, pid uint32) ([]link.Link, error)
- func (s *Symbol) Name() string
- func (s *Symbol) ReturnOffsets() ([]int, error)
- type Tracer
- func (t *Tracer) AcquireGlobalUprobe(path string, attach func() []link.Link) (UprobeKey, bool)
- func (t *Tracer) ActiveConnectionsIterator() *ebpf.MapIterator
- func (t *Tracer) AttachGoTlsUprobes(pid uint32) (*UprobeKey, bool)
- func (t *Tracer) AttachJavaTlsUprobes(pid uint32, nativeLibPath string) *UprobeKey
- func (t *Tracer) AttachNodejsProbes(pid uint32, exe string) *UprobeKey
- func (t *Tracer) AttachOpenSslUprobes(pid uint32) *UprobeKey
- func (t *Tracer) AttachPythonThreadLockProbes(pid uint32) *UprobeKey
- func (t *Tracer) AttachRustlsUprobes(pid uint32) (*UprobeKey, bool)
- func (t *Tracer) Close()
- func (t *Tracer) NodejsStatsIterator() *ebpf.MapIterator
- func (t *Tracer) PythonStatsIterator() *ebpf.MapIterator
- func (t *Tracer) ReleaseGlobalUprobes(keys []UprobeKey)
- func (t *Tracer) Run(events chan<- Event) error
- type TrafficStats
- type UprobeKey
Constants ¶
View Source
const ( EventTypeProcessStart EventType = 1 EventTypeProcessExit EventType = 2 EventTypeConnectionOpen EventType = 3 EventTypeConnectionClose EventType = 4 EventTypeConnectionError EventType = 5 EventTypeListenOpen EventType = 6 EventTypeListenClose EventType = 7 EventTypeFileOpen EventType = 8 EventTypeTCPRetransmit EventType = 9 EventTypeL7Request EventType = 10 EventReasonNone EventReason = 0 EventReasonOOMKill EventReason = 1 )
View Source
const (
IPProtoTCP uint8 = 6
)
View Source
const MaxPayloadSize = 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v1.21.0
type ConnectionId ¶ added in v1.21.0
type ELFFile ¶ added in v1.27.0
type ELFFile struct {
// contains filtered or unexported fields
}
func OpenELFFile ¶ added in v1.27.0
func (*ELFFile) FindSymbolBySubstrings ¶ added in v1.29.0
func (*ELFFile) IsRustBinary ¶ added in v1.29.0
type EventReason ¶
type EventReason uint32
func (EventReason) String ¶
func (t EventReason) String() string
type NodejsStats ¶ added in v1.26.0
type PythonStats ¶ added in v1.26.0
type Symbol ¶ added in v1.27.0
type Symbol struct {
// contains filtered or unexported fields
}
func (*Symbol) AttachUprobe ¶ added in v1.27.0
func (*Symbol) AttachUretprobes ¶ added in v1.27.0
func (*Symbol) ReturnOffsets ¶ added in v1.27.0
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (*Tracer) AcquireGlobalUprobe ¶ added in v1.29.0
func (*Tracer) ActiveConnectionsIterator ¶ added in v1.21.0
func (t *Tracer) ActiveConnectionsIterator() *ebpf.MapIterator
func (*Tracer) AttachGoTlsUprobes ¶ added in v1.9.0
func (*Tracer) AttachJavaTlsUprobes ¶ added in v1.30.0
func (*Tracer) AttachNodejsProbes ¶ added in v1.26.0
func (*Tracer) AttachOpenSslUprobes ¶ added in v1.10.0
func (*Tracer) AttachPythonThreadLockProbes ¶ added in v1.20.4
func (*Tracer) AttachRustlsUprobes ¶ added in v1.29.0
func (*Tracer) NodejsStatsIterator ¶ added in v1.26.0
func (t *Tracer) NodejsStatsIterator() *ebpf.MapIterator
func (*Tracer) PythonStatsIterator ¶ added in v1.26.0
func (t *Tracer) PythonStatsIterator() *ebpf.MapIterator
func (*Tracer) ReleaseGlobalUprobes ¶ added in v1.29.0
type TrafficStats ¶ added in v1.21.0
Click to show internal directories.
Click to hide internal directories.