xref: /linux/kernel/trace/trace_btf.h (revision f85f5ae45ad945270a8884261de8249431e8b5a6)
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