aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/string.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-07-23 18:43:48 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-07-23 18:43:48 +0900
commita3beddd0aa267986de7b13b6d9cd0e1869fcf1fc (patch)
treebfdc42183f5aac21f605a30a4a511298ab91e3c5 /tools/perf/util/string.h
parent955c9863bb5855a994751843e7066017edc00410 (diff)
parent5bdef865eb358b6f3760e25e591ae115e9eeddef (diff)
Merge branch 'sh/kfr2r09'
Diffstat (limited to 'tools/perf/util/string.h')
-rw-r--r--tools/perf/util/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/string.h b/tools/perf/util/string.h
index 3dca2f654cd..bf39dfadfd2 100644
--- a/tools/perf/util/string.h
+++ b/tools/perf/util/string.h
@@ -5,4 +5,7 @@
int hex2u64(const char *ptr, u64 *val);
+#define _STR(x) #x
+#define STR(x) _STR(x)
+
#endif