Searched refs:btf__add_var (Results 1 – 6 of 6) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | btf_endian.c | 71 var_id = btf__add_var(btf, "some_var", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_endian()
|
D | btf_write.c | 255 id = btf__add_var(btf, "var1", BTF_VAR_GLOBAL_ALLOCATED, 1); in test_btf_write()
|
/tools/lib/bpf/ |
D | libbpf.map | 327 btf__add_var;
|
D | btf.h | 139 LIBBPF_API int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id);
|
D | btf.c | 2335 int btf__add_var(struct btf *btf, const char *name, int linkage, int type_id) in btf__add_var() function
|
D | libbpf.c | 3301 dummy_var_btf_id = btf__add_var(btf, in add_dummy_ksym_var()
|