Documentation
¶
Overview ¶
SPDX-License-Identifier: Apache-2.0 Copyright Authors of Tetragon
Index ¶
- Constants
- Variables
- func LoadGenericTracepointSensor(bpfDir, mapDir string, load *program.Program, version, verbose int) error
- func ReadArgBytes(r *bytes.Reader, index int) (*api.MsgGenericKprobeArgBytes, error)
- type BinaryMapKey
- type BinaryMapValue
- type GenericTracepointConf
- type GenericTracepointConfArg
Constants ¶
View Source
const ( CharBufErrorENOMEM = -1 CharBufErrorPageFault = -2 CharBufErrorTooLarge = -3 CharBufSavedForRetprobe = -4 )
Variables ¶
View Source
var (
MaxFilterIntArgs = 8
)
Functions ¶
func ReadArgBytes ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.