Home
last modified time | relevance | path

Searched refs:libbpf_get_error (Results 1 – 25 of 63) sorted by relevance

123

/linux/samples/bpf/
H A Dtrace_output_user.c56 if (libbpf_get_error(obj)) { in main()
74 if (libbpf_get_error(prog)) { in main()
80 if (libbpf_get_error(link)) { in main()
87 ret = libbpf_get_error(pb); in main()
H A Dtracex1_user.c17 if (libbpf_get_error(obj)) { in main()
35 if (libbpf_get_error(link)) { in main()
H A Dtracex5_user.c47 if (libbpf_get_error(obj)) { in main()
65 if (libbpf_get_error(link)) { in main()
H A Dspintest_user.c27 if (libbpf_get_error(obj)) { in main()
47 if (libbpf_get_error(links[j])) { in main()
H A Dtracex4_user.c58 if (libbpf_get_error(obj)) { in main()
77 if (libbpf_get_error(links[j])) { in main()
H A Dibumad_user.c117 if (libbpf_get_error(obj)) { in main()
137 if (libbpf_get_error(tp_links[tp_cnt])) { in main()
H A Dtask_fd_query_user.c157 if (libbpf_get_error(link)) { in test_nondebug_fs_kuprobe_common()
272 if (libbpf_get_error(link)) { in test_debug_fs_uprobe()
326 if (libbpf_get_error(obj)) { in main()
340 if (libbpf_get_error(links[i])) { in main()
H A Dlathist_user.c91 if (libbpf_get_error(obj)) { in main()
110 if (libbpf_get_error(links[i])) { in main()
H A Dtrace_event_user.c159 if (libbpf_get_error(links[i])) { in test_perf_event_all_cpu()
198 if (libbpf_get_error(link)) { in test_perf_event_task()
312 if (libbpf_get_error(obj)) { in main()
H A Dsyscall_tp_user.c57 if (libbpf_get_error(objs[i])) { in test()
93 if (libbpf_get_error(links[j])) { in test()
H A Doffwaketime_user.c110 if (libbpf_get_error(obj)) { in main()
134 if (libbpf_get_error(links[i])) { in main()
H A Dtracex3_user.c130 if (libbpf_get_error(obj)) { in main()
149 if (libbpf_get_error(links[j])) { in main()
H A Dtest_map_in_map_user.c125 if (libbpf_get_error(obj)) { in main()
156 if (libbpf_get_error(link)) { in main()
H A Dcpustat_user.c199 if (libbpf_get_error(obj)) { in main()
224 if (libbpf_get_error(link)) { in main()
H A Dsampleip_user.c57 if (libbpf_get_error(links[i])) { in sampling_start()
189 if (libbpf_get_error(obj)) { in main()
H A Dtracex6_user.c185 if (libbpf_get_error(obj)) { in main()
206 if (libbpf_get_error(links[i])) { in main()
H A Dmap_perf_test_user.c448 if (libbpf_get_error(obj)) { in main()
454 if (libbpf_get_error(map)) { in main()
485 if (libbpf_get_error(links[i])) { in main()
H A Dsockex1_user.c23 if (libbpf_get_error(obj)) in main()
H A Dsockex2_user.c27 if (libbpf_get_error(obj)) in main()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpinning.c47 err = libbpf_get_error(obj); in test_pinning()
55 err = libbpf_get_error(obj); in test_pinning()
89 if (CHECK_FAIL(libbpf_get_error(obj))) { in test_pinning()
169 err = libbpf_get_error(obj); in test_pinning()
211 if (CHECK_FAIL(libbpf_get_error(obj))) { in test_pinning()
238 err = libbpf_get_error(obj); in test_pinning()
H A Dcustom_sec_handlers.c38 return libbpf_get_error(*link); in custom_attach_prog()
41 return libbpf_get_error(*link); in custom_attach_prog()
H A Dxdp_adjust_tail.c156 if (libbpf_get_error(obj)) in test_xdp_adjust_frags_tail_shrink()
220 if (libbpf_get_error(obj)) in test_xdp_adjust_frags_tail_grow()
/linux/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp33 err = libbpf_get_error(skel); in open()
120 if (!libbpf_get_error(btf)) in main()
H A Dbtf_helpers.c271 if (libbpf_get_error(d)) { in btf_type_c_dump()
272 fprintf(stderr, "Failed to create btf_dump instance: %ld\n", libbpf_get_error(d)); in btf_type_c_dump()
/linux/tools/lib/bpf/
H A Dlibbpf_legacy.h113 LIBBPF_API long libbpf_get_error(const void *ptr);

123