diff options
Diffstat (limited to 'tools/perf/util/string.h')
-rw-r--r-- | tools/perf/util/string.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/perf/util/string.h b/tools/perf/util/string.h new file mode 100644 index 00000000000..bf39dfadfd2 --- /dev/null +++ b/tools/perf/util/string.h @@ -0,0 +1,11 @@ +#ifndef _PERF_STRING_H_ +#define _PERF_STRING_H_ + +#include "types.h" + +int hex2u64(const char *ptr, u64 *val); + +#define _STR(x) #x +#define STR(x) _STR(x) + +#endif |