Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c36 char *obj_log_buf, *good_log_buf, *bad_log_buf; in obj_load_log_buf() local
44 bad_log_buf = obj_log_buf + 2 * log_buf_sz; in obj_load_log_buf()
45 obj_log_buf[0] = good_log_buf[0] = bad_log_buf[0] = '\0'; in obj_load_log_buf()
62 bpf_program__set_log_buf(skel->progs.bad_prog, bad_log_buf, log_buf_sz); in obj_load_log_buf()
83 ASSERT_OK_PTR(strstr(bad_log_buf, "invalid access to map value, value_size=16 off=16000 size=4"), in obj_load_log_buf()
90 printf("BAD_PROG LOG:\n=================\n%s=================\n", bad_log_buf); in obj_load_log_buf()
95 obj_log_buf[0] = good_log_buf[0] = bad_log_buf[0] = '\0'; in obj_load_log_buf()
125 ASSERT_STREQ(bad_log_buf, "", "bad_log_empty"); in obj_load_log_buf()
131 printf("BAD_PROG LOG:\n=================\n%s=================\n", bad_log_buf); in obj_load_log_buf()