Searched refs:written_global (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | perf_branches.c | 12 int written_global = skel->bss->written_global_out; in check_good_sample() local 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() 36 written_global, pbe_size); in check_good_sample() 37 CHECK(written_global < written_stack, "read_branches_size", in check_good_sample() 38 "written_global=%d < written_stack=%d\n", written_global, written_stack); in check_good_sample() 43 int written_global = skel->bss->written_global_out; in check_bad_sample() local 56 CHECK((written_global != -EINVAL && written_global != -ENOENT), in check_bad_sample() 57 "read_branches_global", "written %d\n", written_global); in check_bad_sample()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_perf_branches.c | 25 int required_size, written_stack, written_global; in perf_branches() local 37 written_global = bpf_read_branch_records(ctx, fpbe, sizeof(fpbe), 0); in perf_branches() 39 if (!written_global) in perf_branches() 44 written_global_out = written_global; in perf_branches()
|