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