Searched refs:btf5 (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_distill.c | 354 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL, *btf5 = NULL; in test_distilled_base_missing_err() local 386 btf5 = btf__new_empty(); in test_distilled_base_missing_err() 387 if (!ASSERT_OK_PTR(btf5, "empty_reloc_btf")) in test_distilled_base_missing_err() 389 btf__add_int(btf5, "int", 4, BTF_INT_SIGNED); /* [1] int */ in test_distilled_base_missing_err() 391 btf5, in test_distilled_base_missing_err() 393 ASSERT_EQ(btf__relocate(btf4, btf5), -EINVAL, "relocate_split"); in test_distilled_base_missing_err() 396 btf__free(btf5); in test_distilled_base_missing_err() 453 struct btf *btf1 = NULL, *btf2 = NULL, *btf3 = NULL, *btf4 = NULL, *btf5 = NULL; in test_distilled_base_multi_err2() local 479 btf5 = btf__new_empty(); in test_distilled_base_multi_err2() 480 if (!ASSERT_OK_PTR(btf5, "empty_reloc_btf")) in test_distilled_base_multi_err2() [all …]
|