Home
last modified time | relevance | path

Searched refs:bpf_program__attach (Results 26 – 50 of 59) sorted by relevance

123

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlink_pinning.c19 link = bpf_program__attach(prog); in test_link_pinning_subtest()
H A Dtest_lsm.c65 link = bpf_program__attach(skel->progs.test_int_hook); in test_lsm()
H A Dprobe_user.c47 kprobe_links[i] = bpf_program__attach(kprobe_progs[i]); in serial_test_probe_user()
H A Dexceptions.c112 if (!ASSERT_ERR_PTR(link = bpf_program__attach(prog), "attach err")) \ in test_exceptions_success()
115 if (!ASSERT_OK_PTR(link = bpf_program__attach(prog), "attach ok")) \ in test_exceptions_success()
H A Dcustom_sec_handlers.c154 skel->links.xyz = bpf_program__attach(skel->progs.kprobe1); in test_custom_sec_handlers()
H A Dcgrp_local_storage.c108 skel->links.update_cookie_tracing = bpf_program__attach( in test_attach_cgroup()
H A Dbpf_obj_id.c73 links[i] = bpf_program__attach(prog); in serial_test_bpf_obj_id()
/linux/samples/bpf/
H A Dibumad_user.c136 tp_links[tp_cnt] = bpf_program__attach(prog); in main()
H A Dlathist_user.c109 links[i] = bpf_program__attach(prog); in main()
H A Dxdp_sample_user.h66 skel->links.name = bpf_program__attach(skel->progs.name); \
H A Dsyscall_tp_user.c92 links[j] = bpf_program__attach(prog); in test()
H A Dtest_probe_write_user_user.c52 link = bpf_program__attach(prog); in main()
H A Doffwaketime_user.c133 links[i] = bpf_program__attach(prog); in main()
H A Dtracex3_user.c148 links[j] = bpf_program__attach(prog); in main()
H A Dtest_map_in_map_user.c155 link = bpf_program__attach(prog); in main()
H A Dtracex2_user.c159 links[j] = bpf_program__attach(prog); in main()
H A Dcpustat_user.c223 link = bpf_program__attach(prog); in main()
H A Dtest_overhead_user.c151 links[cnt] = bpf_program__attach(prog); in load_progs()
H A Dtracex6_user.c205 links[i] = bpf_program__attach(prog); in main()
/linux/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp91 skel->links.handle_sys_enter = bpf_program__attach(skel->progs.handle_sys_enter); in try_skeleton_template()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_rename.c67 link = bpf_program__attach(prog); in attach_bpf()
H A Dbench_strncmp.c105 link = bpf_program__attach(prog); in strncmp_attach_prog()
H A Dbench_local_storage.c167 if (!bpf_program__attach(prog)) { in __setup()
H A Dbench_bpf_hashmap_lookup.c193 link = bpf_program__attach(ctx.skel->progs.benchmark); in setup()
/linux/tools/lib/bpf/
H A Dlibbpf.map138 bpf_program__attach;

123