Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c11 static char libbpf_log_buf[1024 * 1024]; variable
19 left_cnt = sizeof(libbpf_log_buf) - libbpf_log_pos; in libbpf_print_cb()
20 emitted_cnt = vsnprintf(libbpf_log_buf + libbpf_log_pos, left_cnt, fmt, args); in libbpf_print_cb()
78 ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "unexp_libbpf_log"); in obj_load_log_buf()
79 ASSERT_OK_PTR(strstr(libbpf_log_buf, "prog 'bad_prog': BPF program load failed"), in obj_load_log_buf()
88 printf("LIBBPF LOG: \n=================\n%s=================\n", libbpf_log_buf); in obj_load_log_buf()
97 libbpf_log_buf[0] = '\0'; in obj_load_log_buf()
121 ASSERT_OK_PTR(strstr(libbpf_log_buf, "libbpf: prog 'bad_prog': -- BEGIN PROG LOAD LOG --"), in obj_load_log_buf()
129 printf("LIBBPF LOG: \n=================\n%s=================\n", libbpf_log_buf); in obj_load_log_buf()