Home
last modified time | relevance | path

Searched refs:bpf_link (Results 1 – 6 of 6) sorted by relevance

/third_party/libbpf/src/
Dlibbpf.h349 struct bpf_link;
351 LIBBPF_API struct bpf_link *bpf_link__open(const char *path);
352 LIBBPF_API int bpf_link__fd(const struct bpf_link *link);
353 LIBBPF_API const char *bpf_link__pin_path(const struct bpf_link *link);
365 LIBBPF_API int bpf_link__pin(struct bpf_link *link, const char *path);
379 LIBBPF_API int bpf_link__unpin(struct bpf_link *link);
380 LIBBPF_API int bpf_link__update_program(struct bpf_link *link,
382 LIBBPF_API void bpf_link__disconnect(struct bpf_link *link);
383 LIBBPF_API int bpf_link__detach(struct bpf_link *link);
384 LIBBPF_API int bpf_link__destroy(struct bpf_link *link);
[all …]
Dlibbpf_internal.h162 struct bpf_link { struct
163 int (*detach)(struct bpf_link *link); argument
164 void (*dealloc)(struct bpf_link *link); argument
565 struct bpf_link * usdt_manager_attach_usdt(struct usdt_manager *man,
Dlibbpf.c8866 static int attach_kprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8867 static int attach_uprobe(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8868 static int attach_ksyscall(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8870 static int attach_usdt(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8872 static int attach_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8873 static int attach_raw_tp(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8874 static int attach_trace(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8875 static int attach_kprobe_multi(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8876 static int attach_lsm(const struct bpf_program *prog, long cookie, struct bpf_link **link);
8877 static int attach_iter(const struct bpf_program *prog, long cookie, struct bpf_link **link);
[all …]
Dusdt.c799 struct bpf_link link;
809 struct bpf_link *link;
813 static int bpf_link_usdt_detach(struct bpf_link *link) in bpf_link_usdt_detach()
867 static void bpf_link_usdt_dealloc(struct bpf_link *link) in bpf_link_usdt_dealloc()
941 struct bpf_link *usdt_manager_attach_usdt(struct usdt_manager *man, const struct bpf_program *prog, in usdt_manager_attach_usdt()
1016 struct bpf_link *uprobe_link; in usdt_manager_attach_usdt()
/third_party/libbpf/ci/vmtest/configs/
DDENYLIST-5.5.011 bpf_obj_id # bpf_link support missing for GET_OBJ_INFO, GET_FD_BY_ID, etc
29 flow_dissector # bpf_link-based flow dissector is in 5.8+
39 link_pinning # bpf_link is missing
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h35356 struct bpf_link { struct
35366 void (*release)(struct bpf_link *); argument
35367 void (*dealloc)(struct bpf_link *);
35368 int (*detach)(struct bpf_link *);
35369 int (*update_prog)(struct bpf_link *, struct bpf_prog *, struct bpf_prog *);
35370 void (*show_fdinfo)(const struct bpf_link *, struct seq_file *);
35371 int (*fill_link_info)(const struct bpf_link *, struct bpf_link_info *);
35375 struct bpf_link *link;
35401 struct bpf_link link;
35408 struct bpf_link link;
[all …]