Home
last modified time | relevance | path

Searched refs:prog_infos (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_progs.c427 struct bpf_prog_info prog_infos[nr_iters + 1]; in test_bpf_obj_id() local
499 bzero(&prog_infos[i], info_len); in test_bpf_obj_id()
502 prog_infos[i].jited_prog_insns = ptr_to_u64(jited_insns); in test_bpf_obj_id()
503 prog_infos[i].jited_prog_len = sizeof(jited_insns); in test_bpf_obj_id()
504 prog_infos[i].xlated_prog_insns = ptr_to_u64(xlated_insns); in test_bpf_obj_id()
505 prog_infos[i].xlated_prog_len = sizeof(xlated_insns); in test_bpf_obj_id()
506 prog_infos[i].map_ids = ptr_to_u64(map_ids + i); in test_bpf_obj_id()
507 prog_infos[i].nr_map_ids = 2; in test_bpf_obj_id()
512 err = bpf_obj_get_info_by_fd(prog_fds[i], &prog_infos[i], in test_bpf_obj_id()
515 + (prog_infos[i].load_time / nsec_per_sec); in test_bpf_obj_id()
[all …]