Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc_raw.c22 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 Dlinked_list.c329 static void test_btf(void) in test_btf() function
800 test_btf(); in test_linked_list()
H A Dbtf.c25 #include "../test_btf.h"
8086 struct btf *test_btf = NULL, *expect_btf = NULL; in do_test_dedup()
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()
8108 if (CHECK(err, "invalid test_btf errno:%d", err)) { 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()
8071 struct btf *test_btf = NULL, *expect_btf = NULL; do_test_dedup() local
8223 void test_btf(void) test_btf() function
[all...]