summaryrefslogtreecommitdiff
path: root/tools/perf/util/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/string.h')
-rw-r--r--tools/perf/util/string.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/string.h b/tools/perf/util/string.h
new file mode 100644
index 00000000000..72812c1c9a7
--- /dev/null
+++ b/tools/perf/util/string.h
@@ -0,0 +1,8 @@
+#ifndef _PERF_STRING_H_
+#define _PERF_STRING_H_
+
+#include <linux/types.h>
+
+int hex2u64(const char *ptr, __u64 *val);
+
+#endif