Home
last modified time | relevance | path

Searched refs:bpf_log_buf (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dcgroup_attach_override.c11 static char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
23 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
33 "verifier output:\n%s\n-------\n", bpf_log_buf)) in test_cgroup_attach_override()
38 "verifier output:\n%s\n-------\n", bpf_log_buf)) in test_cgroup_attach_override()
Dcgroup_attach_autodetach.c9 static char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
21 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
36 "verifier output:\n%s\n-------\n", bpf_log_buf)) in test_cgroup_attach_autodetach()
Dcgroup_attach_multi.c9 static char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
71 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load_cnt()
90 "verifier output:\n%s\n-------\n", bpf_log_buf)) in test_cgroup_attach_multi()
Dsockopt.c5 static char bpf_log_buf[4096]; variable
870 fd = bpf_load_program_xattr(&attr, bpf_log_buf, sizeof(bpf_log_buf)); in load_prog()
872 fprintf(stderr, "%s\n", bpf_log_buf); in load_prog()
/kernel/linux/linux-5.10/samples/bpf/
Dtest_overhead_user.c149 printf("%s", bpf_log_buf); in main()
161 printf("%s", bpf_log_buf); in main()
173 printf("%s", bpf_log_buf); in main()
Dtest_cgrp2_attach.c40 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
76 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
101 printf("Output from kernel verifier:\n%s\n-------\n", bpf_log_buf); in attach_filter()
Dsock_example.c33 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
64 "GPL", 0, bpf_log_buf, BPF_LOG_BUF_SIZE); in test_sock()
Dtest_cgrp2_sock.c28 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
119 "GPL", 0, bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
268 bpf_log_buf); in main()
Dfds_example.c33 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
72 bpf_log_buf, BPF_LOG_BUF_SIZE); in bpf_prog_create()
Dbpf_load.h31 extern char bpf_log_buf[BPF_LOG_BUF_SIZE];
Dtest_cgrp2_sock2.c49 printf("Output from kernel verifier:\n%s\n-------\n", bpf_log_buf); in main()
Dbpf_load.c35 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
132 bpf_log_buf, BPF_LOG_BUF_SIZE); in load_and_attach()
134 printf("bpf_load_program() err=%d\n%s", errno, bpf_log_buf); in load_and_attach()
Dhbm.c152 printf(" Output from verifier:\n%s\n------\n", bpf_log_buf); in prog_load()
Dtask_fd_query_user.c310 printf("%s", bpf_log_buf); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_cgroup_storage.c12 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
71 bpf_log_buf, BPF_LOG_BUF_SIZE); in main()
73 printf("Failed to load bpf program: %s\n", bpf_log_buf); in main()
Dtest_sock.c23 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
342 ret = bpf_load_program_xattr(&attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_sock_prog()
344 fprintf(stderr, "%s\n", bpf_log_buf); in load_sock_prog()
Dtest_sysctl.c25 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
1468 ret = bpf_load_program_xattr(&attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_sysctl_prog_insns()
1471 ">>> Verifier output:\n%s\n-------\n", bpf_log_buf); in load_sysctl_prog_insns()
Dtest_sock_addr.c58 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
654 ret = bpf_load_program_xattr(&load_attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_insns()
657 ">>> Verifier output:\n%s\n-------\n", bpf_log_buf); in load_insns()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dreuseport_bpf_numa.c75 static char bpf_log_buf[65536]; in attach_bpf() local
92 attr.log_buf = (unsigned long) &bpf_log_buf; in attach_bpf()
93 attr.log_size = sizeof(bpf_log_buf); in attach_bpf()
98 error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf); in attach_bpf()
Dreuseport_bpf.c96 static char bpf_log_buf[65536]; in attach_ebpf() local
117 attr.log_buf = (unsigned long) &bpf_log_buf; in attach_ebpf()
118 attr.log_size = sizeof(bpf_log_buf); in attach_ebpf()
124 error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf); in attach_ebpf()