Documentation ¶
Index ¶
- type BpfEvent
- type EbpfCollector
- func (e *EbpfCollector) AttachGoTlsUprobesOnProcess(procfs string, pid uint32) []error
- func (e *EbpfCollector) AttachSSlUprobes(pid uint32, executablePath string, version string) error
- func (t *EbpfCollector) AttachSslUprobesOnProcess(procfs string, pid uint32) []error
- func (e *EbpfCollector) AttachUprobesForEncrypted()
- func (e *EbpfCollector) Done() chan struct{}
- func (e *EbpfCollector) EbpfEvents() chan interface{}
- func (e *EbpfCollector) EbpfProcEvents() chan interface{}
- func (e *EbpfCollector) EbpfTcpEvents() chan interface{}
- func (e *EbpfCollector) Init()
- func (e *EbpfCollector) ListenEvents()
- func (e *EbpfCollector) ListenForEncryptedReqs(pid uint32)
- func (e *EbpfCollector) TlsAttachQueue() chan uint32
- type Program
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EbpfCollector ¶
type EbpfCollector struct {
// contains filtered or unexported fields
}
func NewEbpfCollector ¶
func NewEbpfCollector(parentCtx context.Context) *EbpfCollector
func (*EbpfCollector) AttachGoTlsUprobesOnProcess ¶ added in v0.2.0
func (e *EbpfCollector) AttachGoTlsUprobesOnProcess(procfs string, pid uint32) []error
func (*EbpfCollector) AttachSSlUprobes ¶ added in v0.2.0
func (e *EbpfCollector) AttachSSlUprobes(pid uint32, executablePath string, version string) error
func (*EbpfCollector) AttachSslUprobesOnProcess ¶ added in v0.2.0
func (t *EbpfCollector) AttachSslUprobesOnProcess(procfs string, pid uint32) []error
func (*EbpfCollector) AttachUprobesForEncrypted ¶ added in v0.2.1
func (e *EbpfCollector) AttachUprobesForEncrypted()
runs as one goroutine
func (*EbpfCollector) Done ¶
func (e *EbpfCollector) Done() chan struct{}
func (*EbpfCollector) EbpfEvents ¶
func (e *EbpfCollector) EbpfEvents() chan interface{}
func (*EbpfCollector) EbpfProcEvents ¶ added in v0.5.0
func (e *EbpfCollector) EbpfProcEvents() chan interface{}
func (*EbpfCollector) EbpfTcpEvents ¶ added in v0.5.1
func (e *EbpfCollector) EbpfTcpEvents() chan interface{}
func (*EbpfCollector) Init ¶ added in v0.5.1
func (e *EbpfCollector) Init()
func (*EbpfCollector) ListenEvents ¶ added in v0.5.1
func (e *EbpfCollector) ListenEvents()
func (*EbpfCollector) ListenForEncryptedReqs ¶ added in v0.2.0
func (e *EbpfCollector) ListenForEncryptedReqs(pid uint32)
in order to prevent the memory peak at the beginning we'll attach to processes one by one
func (*EbpfCollector) TlsAttachQueue ¶ added in v0.5.1
func (e *EbpfCollector) TlsAttachQueue() chan uint32
type Program ¶ added in v0.5.1
type Program interface { Load() // Load bpf program to kernel Attach() // attach links to programs, in case error process must exit InitMaps() // initialize bpf map readers, must be called before Consume Consume(ctx context.Context, ch chan interface{}) // consume bpf events, publishes to chan provided Close() // release resources }
Click to show internal directories.
Click to hide internal directories.