Searched refs:obj_log_buf (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | log_buf.c | 37 char *obj_log_buf, *good_log_buf, *bad_log_buf; in obj_load_log_buf() local 40 obj_log_buf = malloc(3 * log_buf_sz); in obj_load_log_buf() 41 if (!ASSERT_OK_PTR(obj_log_buf, "obj_log_buf")) in obj_load_log_buf() 44 good_log_buf = obj_log_buf + log_buf_sz; in obj_load_log_buf() 45 bad_log_buf = obj_log_buf + 2 * 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() 48 opts.kernel_log_buf = obj_log_buf; in obj_load_log_buf() 81 ASSERT_OK_PTR(strstr(obj_log_buf, "DATASEC license"), "obj_log_not_empty"); in obj_load_log_buf() 89 printf("OBJ LOG: \n=================\n%s=================\n", obj_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() [all …]
|
H A D | kfunc_call.c | 15 static char obj_log_buf[1048576]; variable 164 opts.kernel_log_buf = obj_log_buf; in verify_fail() 210 if (!ASSERT_OK_PTR(strstr(obj_log_buf, param->expected_err_msg), "expected_err_msg")) { in verify_fail() 212 fprintf(stderr, "Verifier output: %s\n", obj_log_buf); in verify_fail()
|