Home
last modified time | relevance | path

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

/linux/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
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()
/linux/samples/bpf/
A Dtest_cgrp2_attach.c40 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
77 bpf_log_buf, BPF_LOG_BUF_SIZE); in prog_load()
102 printf("Output from kernel verifier:\n%s\n-------\n", bpf_log_buf); in attach_filter()
A 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()
A 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()
A Dfds_example.c33 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
72 bpf_log_buf, BPF_LOG_BUF_SIZE); in bpf_prog_create()
/linux/tools/testing/selftests/bpf/
A 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()
A 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()
A Dtest_sock_addr.c62 char bpf_log_buf[BPF_LOG_BUF_SIZE]; variable
658 ret = bpf_load_program_xattr(&load_attr, bpf_log_buf, BPF_LOG_BUF_SIZE); in load_insns()
661 ">>> 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
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()
/linux/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.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()

Completed in 17 milliseconds