Home
last modified time | relevance | path

Searched refs:bpf_program__attach_trace (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup1_hierarchy.c21 fentry_link = bpf_program__attach_trace(skel->progs.fentry_run); in bpf_cgroup1()
39 fentry_link = bpf_program__attach_trace(skel->progs.fentry_run); in bpf_cgroup1_sleepable()
57 fentry_link = bpf_program__attach_trace(skel->progs.fentry_run); in bpf_cgroup1_invalid_id()
H A Dtest_overhead.c132 link = bpf_program__attach_trace(fentry_prog); in test_test_overhead()
139 link = bpf_program__attach_trace(fexit_prog); in test_test_overhead()
H A Dkfree_skb.c87 link = bpf_program__attach_trace(skel->progs.fentry_eth_type_trans); in serial_test_kfree_skb()
92 link = bpf_program__attach_trace(skel->progs.fexit_eth_type_trans); in serial_test_kfree_skb()
H A Dtask_under_cgroup.c40 skel->links.tp_btf_run = bpf_program__attach_trace(skel->progs.tp_btf_run); in test_task_under_cgroup()
H A Dtailcalls.c295 fentry_link = bpf_program__attach_trace(prog); in test_tailcall_count()
319 fexit_link = bpf_program__attach_trace(prog); in test_tailcall_count()
1071 fentry_link = bpf_program__attach_trace(prog); in test_tailcall_bpf2bpf_fentry_entry()
1244 fentry_link = bpf_program__attach_trace(fentry_prog); in test_tailcall_hierarchy_count()
1309 fentry_link = bpf_program__attach_trace(prog); in test_tailcall_hierarchy_count()
1333 fexit_link = bpf_program__attach_trace(prog); in test_tailcall_hierarchy_count()
H A Dfexit_bpf2bpf.c133 link[i] = bpf_program__attach_trace(prog[i]); in test_fexit_bpf2bpf_common()
314 freplace_link = bpf_program__attach_trace(prog); in test_fmod_ret_freplace()
/linux/tools/lib/bpf/
H A Dlibbpf.map116 bpf_program__attach_trace;
H A Dlibbpf.h800 bpf_program__attach_trace(const struct bpf_program *prog);
H A Dlibbpf.c12594 struct bpf_link *bpf_program__attach_trace(const struct bpf_program *prog) in bpf_program__attach_trace() function
12612 *link = bpf_program__attach_trace(prog); in attach_trace()
12783 return bpf_program__attach_trace(prog); in bpf_program__attach_freplace()