tracing

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon

Index

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 GetLoaderSensor() *sensors.Sensor

func LoadGenericTracepointSensor

func LoadGenericTracepointSensor(bpfDir, mapDir string, load *program.Program, verbose int) error

func ReadArgBytes

func ReadArgBytes(r *bytes.Reader, index int, hasMaxData bool) (*api.MsgGenericKprobeArgBytes, error)

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
}

Jump to

Keyboard shortcuts

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