Home
last modified time | relevance | path

Searched refs:good_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
43 good_log_buf = obj_log_buf + 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()
59 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf()
81 ASSERT_OK_PTR(strstr(good_log_buf, "0: R1=ctx(off=0,imm=0) R10=fp0"), in obj_load_log_buf()
89 printf("GOOD_PROG LOG:\n=================\n%s=================\n", good_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()
110 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf()
123 …ASSERT_STREQ(good_log_buf, "processed 4 insns (limit 1000000) max_states_per_insn 0 total_states 0… in obj_load_log_buf()
130 printf("GOOD_PROG LOG:\n=================\n%s=================\n", good_log_buf); in obj_load_log_buf()