Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c37 char *obj_log_buf, *good_log_buf, *bad_log_buf; in obj_load_log_buf() local
44 good_log_buf = obj_log_buf + log_buf_sz; in obj_load_log_buf()
46 obj_log_buf[0] = good_log_buf[0] = bad_log_buf[0] = '\0'; in obj_load_log_buf()
60 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf()
82 ASSERT_OK_PTR(strstr(good_log_buf, "0: R1=ctx() R10=fp0"), in obj_load_log_buf()
90 printf("GOOD_PROG LOG:\n=================\n%s=================\n", good_log_buf); in obj_load_log_buf()
96 obj_log_buf[0] = good_log_buf[0] = bad_log_buf[0] = '\0'; in obj_load_log_buf()
111 bpf_program__set_log_buf(skel->progs.good_prog, good_log_buf, log_buf_sz); in obj_load_log_buf()
124 …ASSERT_STREQ(good_log_buf, "processed 4 insns (limit 1000000) max_states_per_insn 0 total_states 0… in obj_load_log_buf()
131 printf("GOOD_PROG LOG:\n=================\n%s=================\n", good_log_buf); in obj_load_log_buf()