Searched refs:bpf_link (Results 1 - 4 of 4) sorted by relevance
/third_party/libbpf/src/ |
H A D | libbpf.h | 396 struct bpf_link; 398 LIBBPF_API struct bpf_link *bpf_link__open(const char *path); 399 LIBBPF_API int bpf_link__fd(const struct bpf_link *link); 400 LIBBPF_API const char *bpf_link__pin_path(const struct bpf_link *link); 412 LIBBPF_API int bpf_link__pin(struct bpf_link *link, const char *path); 426 LIBBPF_API int bpf_link__unpin(struct bpf_link *link); 427 LIBBPF_API int bpf_link__update_program(struct bpf_link *link, 429 LIBBPF_API void bpf_link__disconnect(struct bpf_link *link); 430 LIBBPF_API int bpf_link__detach(struct bpf_link *link); 431 LIBBPF_API int bpf_link__destroy(struct bpf_link *lin [all...] |
H A D | libbpf_internal.h | 208 struct bpf_link { struct 209 int (*detach)(struct bpf_link *link); 210 void (*dealloc)(struct bpf_link *link); 641 struct bpf_link * usdt_manager_attach_usdt(struct usdt_manager *man,
|
H A D | libbpf.c | 9207 static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9208 static int attach_uprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9209 static int attach_ksyscall(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9211 static int attach_usdt(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9213 static int attach_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9214 static int attach_raw_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9215 static int attach_trace(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9216 static int attach_kprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9217 static int attach_uprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link); 9218 static int attach_lsm(const struct bpf_program *prog, long cookie, struct bpf_link **lin [all...] |
H A D | usdt.c | 805 struct bpf_link link; 815 struct bpf_link *link; 818 struct bpf_link *multi_link; 821 static int bpf_link_usdt_detach(struct bpf_link *link) in bpf_link_usdt_detach() 881 static void bpf_link_usdt_dealloc(struct bpf_link *link) in bpf_link_usdt_dealloc() 955 struct bpf_link *usdt_manager_attach_usdt(struct usdt_manager *man, const struct bpf_program *prog, in usdt_manager_attach_usdt() 1032 struct bpf_link *uprobe_link; in usdt_manager_attach_usdt()
|
Completed in 19 milliseconds