Lines Matching refs:CHECK
18 if (CHECK(!skel->bss->valid, "output not valid", in check_good_sample()
28 CHECK(required_size <= 0, "read_branches_size", "err %d\n", required_size); in check_good_sample()
29 CHECK(written_stack < 0, "read_branches_stack", "err %d\n", written_stack); in check_good_sample()
30 CHECK(written_stack % pbe_size != 0, "read_branches_stack", in check_good_sample()
33 CHECK(written_global < 0, "read_branches_global", "err %d\n", written_global); in check_good_sample()
34 CHECK(written_global % pbe_size != 0, "read_branches_global", in check_good_sample()
37 CHECK(written_global < written_stack, "read_branches_size", in check_good_sample()
48 if (CHECK(!skel->bss->valid, "output not valid", in check_bad_sample()
52 CHECK((required_size != -EINVAL && required_size != -ENOENT), in check_bad_sample()
54 CHECK((written_stack != -EINVAL && written_stack != -ENOENT), in check_bad_sample()
56 CHECK((written_global != -EINVAL && written_global != -ENOENT), in check_bad_sample()
71 if (CHECK(!skel, "test_perf_branches_load", in test_perf_branches_common()
84 if (CHECK(err, "set_affinity", "cpu #0, err %d\n", err)) in test_perf_branches_common()
129 if (CHECK(pfd < 0, "perf_event_open", "err %d errno %d\n", in test_perf_branches_hw()
156 if (CHECK(pfd < 0, "perf_event_open", "err %d\n", pfd)) in test_perf_branches_no_hw()