Searched refs:test_btf (Results 1 – 3 of 3) sorted by relevance
/linux-6.14.4/tools/testing/selftests/bpf/prog_tests/ |
D | core_reloc_raw.c | 22 struct test_btf { in test_bad_local_id() struct 33 .str_off = offsetof(struct test_btf, strings) - in test_bad_local_id() 34 offsetof(struct test_btf, types), in test_bad_local_id()
|
D | linked_list.c | 328 static void test_btf(void) in test_btf() function 799 test_btf(); in test_linked_list()
|
D | btf.c | 8071 struct btf *test_btf = NULL, *expect_btf = NULL; in do_test_dedup() local 8090 test_btf = btf__new((__u8 *)raw_btf, raw_btf_size); in do_test_dedup() 8091 err = libbpf_get_error(test_btf); in do_test_dedup() 8113 err = btf__dedup(test_btf, &test->opts); in do_test_dedup() 8119 test_btf_data = btf__raw_data(test_btf, &test_btf_size); in do_test_dedup() 8149 off = btf__find_str(test_btf, expect_str_cur); in do_test_dedup() 8154 test_str_cur = btf__str_by_offset(test_btf, off); in do_test_dedup() 8174 test_nr_types = btf__type_cnt(test_btf); in do_test_dedup() 8187 test_type = btf__type_by_id(test_btf, i); in do_test_dedup() 8219 btf__free(test_btf); in do_test_dedup() [all …]
|