Lines Matching refs:log_buf

16 	char log_buf[8 * 1024];  in bad_core_relo()  local
25 memset(log_buf, 0, sizeof(log_buf)); in bad_core_relo()
26 bpf_program__set_log_buf(skel->progs.bad_relo, log_buf, log_buf_size ?: sizeof(log_buf)); in bad_core_relo()
33 ASSERT_HAS_SUBSTR(log_buf, in bad_core_relo()
40 ASSERT_HAS_SUBSTR(log_buf, in bad_core_relo()
43 ASSERT_HAS_SUBSTR(log_buf, in bad_core_relo()
49 ASSERT_HAS_SUBSTR(log_buf, in bad_core_relo()
53 ASSERT_NULL(strstr(log_buf, "max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0\n"), in bad_core_relo()
58 ASSERT_NULL(strstr(log_buf, "struct task_struct___bad.fake_field (0:1 @ offset 4)\n"), in bad_core_relo()
61 ASSERT_NULL(strstr(log_buf, "max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0\n"), in bad_core_relo()
67 printf("LOG: \n=================\n%s=================\n", log_buf); in bad_core_relo()
74 char log_buf[8 * 1024]; in bad_core_relo_subprog() local
83 bpf_program__set_log_buf(skel->progs.bad_relo_subprog, log_buf, sizeof(log_buf)); in bad_core_relo_subprog()
89 ASSERT_HAS_SUBSTR(log_buf, in bad_core_relo_subprog()
93 ASSERT_HAS_SUBSTR(log_buf, in bad_core_relo_subprog()
98 printf("LOG: \n=================\n%s=================\n", log_buf); in bad_core_relo_subprog()
106 char log_buf[8 * 1024]; in missing_map() local
117 bpf_program__set_log_buf(skel->progs.use_missing_map, log_buf, sizeof(log_buf)); in missing_map()
126 ASSERT_HAS_SUBSTR(log_buf, in missing_map()
132 printf("LOG: \n=================\n%s=================\n", log_buf); in missing_map()
140 char log_buf[8 * 1024]; in missing_kfunc() local
149 bpf_program__set_log_buf(skel->progs.use_missing_kfunc, log_buf, sizeof(log_buf)); in missing_kfunc()
155 ASSERT_HAS_SUBSTR(log_buf, in missing_kfunc()
161 printf("LOG: \n=================\n%s=================\n", log_buf); in missing_kfunc()