Searched refs:libbpf_log_buf (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | log_buf.c | 10 static char libbpf_log_buf[1024 * 1024]; variable 18 left_cnt = sizeof(libbpf_log_buf) - libbpf_log_pos; in libbpf_print_cb() 19 emitted_cnt = vsnprintf(libbpf_log_buf + libbpf_log_pos, left_cnt, fmt, args); in libbpf_print_cb() 77 ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "unexp_libbpf_log"); in obj_load_log_buf() 78 ASSERT_OK_PTR(strstr(libbpf_log_buf, "prog 'bad_prog': BPF program load failed"), in obj_load_log_buf() 87 printf("LIBBPF LOG: \n=================\n%s=================\n", libbpf_log_buf); in obj_load_log_buf() 96 libbpf_log_buf[0] = '\0'; in obj_load_log_buf() 120 ASSERT_OK_PTR(strstr(libbpf_log_buf, "libbpf: prog 'bad_prog': -- BEGIN PROG LOAD LOG --"), in obj_load_log_buf() 128 printf("LIBBPF LOG: \n=================\n%s=================\n", libbpf_log_buf); in obj_load_log_buf()
|