Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageMaxBuffer = 10000 DefaultUprobeEntry = "entry" DefaultUprobeRet = "return" SSLRead = 0 SSLWrite = 1 )
Constants used within the package
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TlsMessage ¶
type TlsMessage struct { Elapsed uint64 Pid uint32 Tid uint32 Result int32 FunctionName [20]byte // New field to store the function name ProcessName [16]byte Message [MessageMaxBuffer]byte EndIdx int }
TlsMessage struct to handle each message data
func (*TlsMessage) HasContent ¶
func (t *TlsMessage) HasContent() bool
HasContent checks if the TLS message has content
func (*TlsMessage) Print ¶
func (t *TlsMessage) Print(jsonOutput bool)
Print prints the message info either as a table or JSON based on jsonOutput flag
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
Tracer struct for TLS tracing
func (*Tracer) TraceMessageChannel ¶
func (t *Tracer) TraceMessageChannel() (<-chan TlsMessage, error)
TraceMessageChannel retrieves the trace in a channel from BPF program
Click to show internal directories.
Click to hide internal directories.