MCPcopy Create free account
hub / github.com/dropbox/goebpf / Attach

Method Attach

program_kprobe.go:169–190  ·  view source on GitHub ↗

Attach attaches eBPF(Kprobe) program to a probe point. There are 2 possible ways to do that: 1. Pass attach point as parameter, e.g. xdpProgram.Attach("SyS_execve") 2. Using the ebpf program section identifier. SEC("kprobe/SyS_execve")

(data interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

AttachMethod · 0.65
GetFdMethod · 0.65
EnableMethod · 0.45

Tested by

no test coverage detected