Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A 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 serial_test_cgroup_attach_override()
38 "verifier output:\n%s\n-------\n", bpf_log_buf)) in serial_test_cgroup_attach_override()
A 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 serial_test_cgroup_attach_autodetach()
A 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 serial_test_cgroup_attach_multi()
A Dsockopt.c5 static char bpf_log_buf[4096]; variable
858 .log_buf = bpf_log_buf, in load_prog()
859 .log_size = sizeof(bpf_log_buf), in load_prog()
871 fprintf(stderr, "%s\n", bpf_log_buf); in load_prog()
/linux-6.3-rc2/samples/bpf/
A Dtest_cgrp2_attach.c41 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
76 .log_buf = bpf_log_buf, in prog_load()
106 printf("Output from kernel verifier:\n%s\n-------\n", bpf_log_buf); in attach_filter()
A Dsock_example.c34 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
64 .log_buf = bpf_log_buf, in test_sock()
A Dtest_cgrp2_sock.c28 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
74 .log_buf = bpf_log_buf, in prog_load()
272 bpf_log_buf); in main()
A Dfds_example.c34 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
68 .log_buf = bpf_log_buf, in bpf_prog_create()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dtest_cgroup_storage.c13 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
75 bpf_log_buf, BPF_LOG_BUF_SIZE); in main()
77 printf("Failed to load bpf program: %s\n", bpf_log_buf); in main()
A Dtest_sock.c22 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
396 opts.log_buf = bpf_log_buf; in load_sock_prog()
402 fprintf(stderr, "%s\n", bpf_log_buf); in load_sock_prog()
A Dtest_sock_addr.c61 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
651 opts.log_buf = bpf_log_buf; in load_insns()
657 ">>> Verifier output:\n%s\n-------\n", bpf_log_buf); in load_insns()
A Dtest_sysctl.c25 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
1464 opts.log_buf = bpf_log_buf; in load_sysctl_prog_insns()
1470 ">>> Verifier output:\n%s\n-------\n", bpf_log_buf); in load_sysctl_prog_insns()
/linux-6.3-rc2/tools/testing/selftests/net/
A 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()
A Dreuseport_bpf.c94 static char bpf_log_buf[65536]; in attach_ebpf() local
115 attr.log_buf = (unsigned long) &bpf_log_buf; in attach_ebpf()
116 attr.log_size = sizeof(bpf_log_buf); in attach_ebpf()
122 error(1, errno, "ebpf error. log:\n%s\n", bpf_log_buf); in attach_ebpf()

Completed in 17 milliseconds