probesfacade

package
v0.8.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachUProbe

func AttachUProbe(binPath, functionSymbol string, probe *bpf.BPFProg) (uint32, error)

AttachUProbe attach one uprobe to the haed of the symbol function.

func AttachURETProbe

func AttachURETProbe(binPath, functionSymbol string, probe *bpf.BPFProg, offset uint32) error

AttachURETProbe attach N uprobes to the RET instructions of the symbol function. Since the uretprobes doesn't work well with Go binaries, I preferred to create an abstraction to attach a uprobe ∀ RET instruction withing the traced function, instead of attachin a single uretprobe.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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