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 | 25 #include "../test_btf.h" 8151 struct btf *test_btf = NULL, *expect_btf = NULL; in do_test_dedup() 8170 test_btf = btf__new((__u8 *)raw_btf, raw_btf_size); in do_test_dedup() 8171 err = libbpf_get_error(test_btf); in do_test_dedup() 8173 if (CHECK(err, "invalid test_btf errno:%d", err)) { in do_test_dedup() 8193 err = btf__dedup(test_btf, &test->opts); in do_test_dedup() 8199 test_btf_data = btf__raw_data(test_btf, &test_btf_size); in do_test_dedup() 8229 off = btf__find_str(test_btf, expect_str_cur); in test_btf() 8234 test_str_cur = btf__str_by_offset(test_btf, off); in test_btf() 8254 test_nr_types = btf__type_cnt(test_btf); 8071 struct btf *test_btf = NULL, *expect_btf = NULL; do_test_dedup() local 8223 void test_btf(void) test_btf() function [all...] |