Searched refs:obj_log_buf (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | log_buf.c | 36 char *obj_log_buf, *good_log_buf, *bad_log_buf; in obj_load_log_buf() local 39 obj_log_buf = malloc(3 * log_buf_sz); in obj_load_log_buf() 40 if (!ASSERT_OK_PTR(obj_log_buf, "obj_log_buf")) in obj_load_log_buf() 43 good_log_buf = obj_log_buf + log_buf_sz; in obj_load_log_buf() 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() 47 opts.kernel_log_buf = obj_log_buf; in obj_load_log_buf() 80 ASSERT_OK_PTR(strstr(obj_log_buf, "DATASEC license"), "obj_log_not_empty"); in obj_load_log_buf() 95 obj_log_buf[0] = good_log_buf[0] = bad_log_buf[0] = '\0'; in obj_load_log_buf() 122 ASSERT_STREQ(obj_log_buf, "", "obj_log__empty"); in obj_load_log_buf() [all …]
|
H A D | kfunc_call.c | 15 static char obj_log_buf[1048576]; variable 162 opts.kernel_log_buf = obj_log_buf; in verify_fail() 208 if (!ASSERT_OK_PTR(strstr(obj_log_buf, param->expected_err_msg), "expected_err_msg")) { in verify_fail() 210 fprintf(stderr, "Verifier output: %s\n", obj_log_buf); in verify_fail()
|