Searched refs:test_btf (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A D | linked_list.c | 329 static void test_btf(void) in test_btf() function 800 test_btf(); in test_linked_list()
|
H A D | btf.c | 8086 struct btf *test_btf = NULL, *expect_btf = NULL; in do_test_dedup() local 8105 test_btf = btf__new((__u8 *)raw_btf, raw_btf_size); in do_test_dedup() 8106 err = libbpf_get_error(test_btf); in do_test_dedup() 8128 err = btf__dedup(test_btf, &test->opts); in do_test_dedup() 8134 test_btf_data = btf__raw_data(test_btf, &test_btf_size); in do_test_dedup() 8164 off = btf__find_str(test_btf, expect_str_cur); in do_test_dedup() 8169 test_str_cur = btf__str_by_offset(test_btf, off); in do_test_dedup() 8189 test_nr_types = btf__type_cnt(test_btf); in do_test_dedup() 8202 test_type = btf__type_by_id(test_btf, i); in do_test_dedup() 8234 btf__free(test_btf); in do_test_dedup() [all …]
|