xref: /linux/kernel/trace/trace_btf.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/btf.h>
3 
4 const struct btf_type *btf_find_func_proto(const char *func_name,
5 					   struct btf **btf_p);
6 const struct btf_param *btf_get_func_param(const struct btf_type *func_proto,
7 					   s32 *nr);
8 const struct btf_member *btf_find_struct_member(struct btf *btf,
9 						const struct btf_type *type,
10 						const char *member_name,
11 						u32 *anon_offset);
12