accel/amdxdna: use modern PM helpers
[drm/drm-misc.git] / kernel / trace / trace_btf.h
blob4bc44bc261e6f9cb496ad31eb5534171905c8b5a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/btf.h>
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);