summaryrefslogtreecommitdiff
path: root/tools/perf/util/btf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/btf.h')
-rw-r--r--tools/perf/util/btf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/util/btf.h b/tools/perf/util/btf.h
new file mode 100644
index 000000000000..05e6e5bf23d6
--- /dev/null
+++ b/tools/perf/util/btf.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __PERF_UTIL_BTF
+#define __PERF_UTIL_BTF 1
+
+struct btf;
+struct btf_member;
+
+const struct btf_member *__btf_type__find_member_by_name(struct btf *btf,
+ int type_id, const char *member_name);
+#endif // __PERF_UTIL_BTF