summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/include/linux/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/include/linux/string.h')
-rw-r--r--tools/perf/util/include/linux/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/include/linux/string.h b/tools/perf/util/include/linux/string.h
index 3b2f5900276..6f19c548ecc 100644
--- a/tools/perf/util/include/linux/string.h
+++ b/tools/perf/util/include/linux/string.h
@@ -1 +1,3 @@
#include <string.h>
+
+void *memdup(const void *src, size_t len);