Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_btf.c1609 uint8_t *raw_btf = NULL, *user_btf = NULL; in test_big_btf_info() local
1630 user_btf = malloc(raw_btf_size); in test_big_btf_info()
1631 if (CHECK(!user_btf, "!user_btf")) { in test_big_btf_info()
1652 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
1683 free(user_btf); in test_big_btf_info()
1695 uint8_t *raw_btf = NULL, *user_btf[2] = {}; in test_btf_id() local
1715 user_btf[i] = malloc(raw_btf_size); in test_btf_id()
1716 if (CHECK(!user_btf[i], "!user_btf[%d]", i)) { in test_btf_id()
1720 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
1750 (ret = memcmp(user_btf[0], user_btf[1], info[0].btf_size)), in test_btf_id()
[all …]