tracing

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 30 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
)

Variables

View Source
var (
	MaxFilterIntArgs = 8
)

Functions

func LoadGenericTracepointSensor

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

func ReadArgBytes

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

Types

type BinaryMapKey

type BinaryMapKey struct {
	PathName [256]byte
}

func (*BinaryMapKey) DeepCopyMapKey

func (k *BinaryMapKey) DeepCopyMapKey() bpf.MapKey

func (*BinaryMapKey) GetKeyPtr

func (k *BinaryMapKey) GetKeyPtr() unsafe.Pointer

func (*BinaryMapKey) NewValue

func (k *BinaryMapKey) NewValue() bpf.MapValue

func (*BinaryMapKey) String

func (k *BinaryMapKey) String() string

type BinaryMapValue

type BinaryMapValue struct {
	Id uint32
}

func (*BinaryMapValue) DeepCopyMapValue

func (v *BinaryMapValue) DeepCopyMapValue() bpf.MapValue

func (*BinaryMapValue) GetValuePtr

func (v *BinaryMapValue) GetValuePtr() unsafe.Pointer

func (*BinaryMapValue) NewValue

func (v *BinaryMapValue) NewValue() bpf.MapValue

func (*BinaryMapValue) String

func (v *BinaryMapValue) String() string

type GenericTracepointConf

type GenericTracepointConf = v1alpha1.TracepointSpec

GenericTracepointConf is the configuration for a generic tracepoint. This is a caller-defined structure that configures a tracepoint.

type GenericTracepointConfArg

type GenericTracepointConfArg v1alpha1.KProbeArg

GenericTracepointConfArg represents an argument of a generic tracepoint

This points to the index of the argument. (Another option might be to specify this by name)

Jump to

Keyboard shortcuts

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