Help us shape the future of Go! Take the 2026 Go Developer Survey

bpfprograms

package
v0.31.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// native programs.
	NativeProgramFD           = uint64(0)
	RbperfEntrypointProgramFD = uint64(1)
	PyperfEntrypointProgramFD = uint64(2)
	JVMEntrypointProgramFD    = uint64(3)

	// rbperf programs.
	RubyUnwinderProgramFD = uint64(0)
	// pyperf programs.
	PythonUnwinderProgramFD = uint64(0)
	// jvm programs.
	JavaUnwinderProgramFD = uint64(0)

	ProgramName               = "entrypoint"
	NativeUnwinderProgramName = "native_unwind"
)
View Source
var ProgNames = []string{"native.bpf.o", "rbperf.bpf.o", "pyperf.bpf.o", "jvm.bpf.o"}

Functions

func OpenJVM added in v0.31.0

func OpenJVM() ([]byte, error)

func OpenNative

func OpenNative() ([]byte, error)

func OpenPyperf added in v0.31.0

func OpenPyperf() ([]byte, error)

func OpenRbperf added in v0.31.0

func OpenRbperf() ([]byte, error)

Types

type ProfilerModuleType added in v0.31.0

type ProfilerModuleType int
const (
	NativeModule ProfilerModuleType = iota
	RbperfModule
	PyperfModule
	JVMModule
)

Jump to

Keyboard shortcuts

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