Home
last modified time | relevance | path

Searched refs:bpf_vlog (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dalign.c590 static char bpf_vlog[32768]; variable
599 .log_buf = bpf_vlog, in do_test_single()
600 .log_size = sizeof(bpf_vlog), in do_test_single()
614 printf("%s", bpf_vlog); in do_test_single()
618 printf("%s", bpf_vlog); in do_test_single()
624 strncpy(bpf_vlog_copy, bpf_vlog, sizeof(bpf_vlog_copy)); in do_test_single()
645 printf("%s", bpf_vlog); in do_test_single()
664 printf("%s", bpf_vlog); in do_test_single()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_verifier.c743 static char bpf_vlog[UINT_MAX >> 8]; variable
759 .log_buf = bpf_vlog, in load_btf_spec()
760 .log_size = sizeof(bpf_vlog), in load_btf_spec()
1530 opts.log_buf = bpf_vlog; in do_test_single()
1531 opts.log_size = sizeof(bpf_vlog); in do_test_single()
1564 if (expected_ret == VERBOSE_ACCEPT && !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
1572 if (!expected_err || !cmp_str_seq(bpf_vlog, expected_err)) { in do_test_single()
1574 expected_err, bpf_vlog); in do_test_single()
1583 proc = strstr(bpf_vlog, "processed "); in do_test_single()
1593 printf(", verifier log:\n%s", bpf_vlog); in do_test_single()
[all …]