Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dattach_probe.c37 struct bpf_link *kprobe_link = NULL; in test_attach_probe()
38 struct bpf_link *kretprobe_link = NULL; in test_attach_probe()
39 struct bpf_link *uprobe_link = NULL; in test_attach_probe()
40 struct bpf_link *uretprobe_link = NULL; in test_attach_probe()
Dstacktrace_map_raw_tp.c13 struct bpf_link *link = NULL; in test_stacktrace_map_raw_tp()
Dstacktrace_map.c13 struct bpf_link *link; in test_stacktrace_map()
Dperf_buffer.c31 struct bpf_link *link; in test_perf_buffer()
Dstacktrace_build_id.c13 struct bpf_link *link = NULL; in test_stacktrace_build_id()
Dget_stack_raw_tp.c89 struct bpf_link *link = NULL; in test_get_stack_raw_tp()
Dstacktrace_build_id_nmi.c31 struct bpf_link *link; in test_stacktrace_build_id_nmi()
Dcore_reloc.c295 struct bpf_link *link = NULL; in test_core_reloc()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.h169 struct bpf_link;
171 LIBBPF_API int bpf_link__destroy(struct bpf_link *link);
173 LIBBPF_API struct bpf_link *
175 LIBBPF_API struct bpf_link *
178 LIBBPF_API struct bpf_link *
182 LIBBPF_API struct bpf_link *
186 LIBBPF_API struct bpf_link *
Dlibbpf.c4876 struct bpf_link { struct
4877 int (*destroy)(struct bpf_link *link); argument
4880 int bpf_link__destroy(struct bpf_link *link) in bpf_link__destroy()
4894 struct bpf_link link; /* has to be at the top of struct */
4898 static int bpf_link__destroy_perf_event(struct bpf_link *link) in bpf_link__destroy_perf_event()
4911 struct bpf_link *bpf_program__attach_perf_event(struct bpf_program *prog, in bpf_program__attach_perf_event()
4952 return (struct bpf_link *)link; in bpf_program__attach_perf_event()
5061 struct bpf_link *bpf_program__attach_kprobe(struct bpf_program *prog, in bpf_program__attach_kprobe()
5066 struct bpf_link *link; in bpf_program__attach_kprobe()
5091 struct bpf_link *bpf_program__attach_uprobe(struct bpf_program *prog, in bpf_program__attach_uprobe()
[all …]