Searched refs:written_stack (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | perf_branches.c | 14 int written_stack = skel->bss->written_stack_out; in check_good_sample() local 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() 32 written_stack, 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() 45 int written_stack = skel->bss->written_stack_out; in check_bad_sample() local 54 CHECK((written_stack != -EINVAL && written_stack != -ENOENT), in check_bad_sample() 55 "read_branches_stack", "written %d\n", written_stack); in check_bad_sample()
|
/linux-5.19.10/tools/testing/selftests/bpf/progs/ |
D | test_perf_branches.c | 25 int required_size, written_stack, written_global; in perf_branches() local 28 written_stack = bpf_read_branch_records(ctx, entries, sizeof(entries), 0); in perf_branches() 30 if (!written_stack) in perf_branches() 43 written_stack_out = written_stack; in perf_branches()
|