Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c3763 uint8_t *raw_btf = NULL, *user_btf = NULL; in test_big_btf_info() local
3784 user_btf = malloc(raw_btf_size); in test_big_btf_info()
3785 if (CHECK(!user_btf, "!user_btf")) { in test_big_btf_info()
3806 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
3837 free(user_btf); in test_big_btf_info()
3849 uint8_t *raw_btf = NULL, *user_btf[2] = {}; in test_btf_id() local
3869 user_btf[i] = malloc(raw_btf_size); in test_btf_id()
3870 if (CHECK(!user_btf[i], "!user_btf[%d]", i)) { in test_btf_id()
3874 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
3904 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id()
[all …]