RawLink is the low-level API to bpf_link. You should consider using the higher level interfaces in this package instead.
| 122 | // You should consider using the higher level interfaces in this |
| 123 | // package instead. |
| 124 | type RawLink struct { |
| 125 | fd *sys.FD |
| 126 | pinnedPath string |
| 127 | } |
| 128 | |
| 129 | func loadPinnedRawLink(fileName string, opts *ebpf.LoadPinOptions) (*RawLink, error) { |
| 130 | fd, typ, err := sys.ObjGetTyped(&sys.ObjGetAttr{ |
nothing calls this directly
no outgoing calls
no test coverage detected