tracer

package
v0.8.59 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: GPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ABI0 goAbi = iota
	ABIInternal
)
View Source
const FlagsIsClientBit uint32 = 1 << 0
View Source
const FlagsIsReadBit uint32 = 1 << 1
View Source
const GlobalWorkerPid = 0
View Source
const PtrSize int = 8

Variables

This section is empty.

Functions

func LogError

func LogError(err error)

func NewTlsReader added in v0.2.0

func NewTlsReader(tcpID *api.TcpID, parent *tlsStream, isClient bool,
	emitter api.Emitter, extension *api.Extension, reqResMatcher api.RequestResponseMatcher) *tlsReader

func NewTlsStream added in v0.2.0

func NewTlsStream(poller *tlsPoller, key string, streamsMap api.TcpStreamMap) *tlsStream

func UpdateTargets

func UpdateTargets(tls *Tracer, pods *[]v1.Pod, procfs string) error

Types

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

func (*Tracer) AddGoPid

func (t *Tracer) AddGoPid(procfs string, pid uint32) error

func (*Tracer) AddSSLLibPid

func (t *Tracer) AddSSLLibPid(procfs string, pid uint32) error

func (*Tracer) ClearPids

func (t *Tracer) ClearPids()

func (*Tracer) Close

func (t *Tracer) Close() []error

func (*Tracer) GlobalGoTarget

func (t *Tracer) GlobalGoTarget(procfs string, pid string) error

func (*Tracer) GlobalSSLLibTarget

func (t *Tracer) GlobalSSLLibTarget(procfs string, pid string) error

func (*Tracer) Init

func (t *Tracer) Init(
	chunksBufferSize int,
	logBufferSize int,
	procfs string,
	extension *api.Extension,
	sorter *assemblers.PacketSorter,
) error

func (*Tracer) Poll

func (t *Tracer) Poll(outputItems chan *api.OutputChannelItem, streamsMap api.TcpStreamMap)

func (*Tracer) PollForLogging

func (t *Tracer) PollForLogging()

func (*Tracer) RemovePid

func (t *Tracer) RemovePid(pid uint32) error

Jump to

Keyboard shortcuts

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