ebpf

package
v0.0.0-...-00ecffe Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BufferSize          = 0xa0
	MsgCountBucketSize  = 0x14
	MsgCountNumBuckets  = 0x5
	MsgCountFirstBucket = 0x64
	MsgCountMaxTotal    = 0xb4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnTuple

type ConnTuple = struct {
	Saddr_h  uint64
	Saddr_l  uint64
	Daddr_h  uint64
	Daddr_l  uint64
	Sport    uint16
	Dport    uint16
	Netns    uint32
	Pid      uint32
	Metadata uint32
}

type EbpfEvent

type EbpfEvent struct {
	Tuple ConnTuple
	Tx    EbpfTx
}

type EbpfTx

type EbpfTx struct {
	Request_fragment    [160]byte
	Request_started     uint64
	Response_last_seen  uint64
	Original_query_size uint32
	Tags                uint8
	Pad_cgo_0           [3]byte
}

type PostgresKernelMsgCount

type PostgresKernelMsgCount struct {
	Reached_max_messages uint64
	Fragmented_packets   uint64
	Msg_count_buckets    [5]uint64
}

Jump to

Keyboard shortcuts

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