bpfprograms

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StackDepth = 127 // Always needs to be sync with MAX_STACK_DEPTH in BPF program.

)

Variables

View Source
var (

	// native programs.
	NativeProgramFD           = uint64(0)
	RubyEntrypointProgramFD   = uint64(1)
	PythonEntrypointProgramFD = uint64(2)
	// rbperf programs.
	RubyUnwinderProgramFD = uint64(0)
	// python programs.
	PythonUnwinderProgramFD = uint64(0)

	ProgramName               = "entrypoint"
	NativeUnwinderProgramName = "native_unwind"
)

Functions

func OpenNative

func OpenNative() ([]byte, error)

func OpenPython

func OpenPython() ([]byte, error)

func OpenRuby

func OpenRuby() ([]byte, error)

Types

type CombinedStack

type CombinedStack [tripleStackDepth]uint64

Jump to

Keyboard shortcuts

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