Documentation ¶
Overview ¶
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
Index ¶
- Constants
- Variables
- func GetLoaderSensor() *sensors.Sensor
- func LoadGenericTracepointSensor(bpfDir, mapDir string, load *program.Program, verbose int) error
- func ReadArgBytes(r *bytes.Reader, index int, hasMaxData bool) (*api.MsgGenericKprobeArgBytes, error)
- func UprobeTestFunc()
- type BinaryMapKey
- type BinaryMapValue
Constants ¶
View Source
const ( CharBufErrorENOMEM = -1 CharBufErrorPageFault = -2 CharBufErrorTooLarge = -3 CharBufSavedForRetprobe = -4 )
View Source
const ( ListTypeInvalid = -1 ListTypeNone = 0 ListTypeSyscalls = 1 ListTypeGeneratedSyscalls = 2 ListTypeGeneratedFtrace = 3 )
Variables ¶
View Source
var (
MaxFilterIntArgs = 8
)
Functions ¶
func GetLoaderSensor ¶ added in v0.9.0
func ReadArgBytes ¶
func UprobeTestFunc ¶ added in v0.9.0
func UprobeTestFunc()
Types ¶
type BinaryMapKey ¶
type BinaryMapKey struct {
PathName [256]byte
}
type BinaryMapValue ¶
type BinaryMapValue struct {
Id uint32
}
Click to show internal directories.
Click to hide internal directories.