Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_field_iter.c76 btf__add_func(btf, "func", BTF_FUNC_GLOBAL, 13);/* [14] int func(int p1, int *p2); */ in test_btf_field_iter()
H A Dbtf_distill.c119 btf__add_func(btf2, "fn", BTF_FUNC_STATIC, 14); /* [27] int fn(int p1); */ in test_distilled_base()
H A Dbtf_write.c219 id = btf__add_func(btf, "func1", BTF_FUNC_GLOBAL, 15); in gen_btf()
/linux/tools/lib/bpf/
H A Dlibbpf.map217 btf__add_func;
H A Dbtf.h233 LIBBPF_API int btf__add_func(struct btf *btf, const char *name,
H A Dbtf.c2686 int btf__add_func(struct btf *btf, const char *name, in btf__add_func() function
H A Dlibbpf.c6916 fn_id = btf__add_func(btf, prog->name, linkage, fn_proto_id); in clone_func_btf_info()