summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-libperl.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/config/feature-checks/test-libperl.c')
-rw-r--r--tools/perf/config/feature-checks/test-libperl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-libperl.c b/tools/perf/config/feature-checks/test-libperl.c
new file mode 100644
index 00000000000..8871f6a0fdb
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-libperl.c
@@ -0,0 +1,9 @@
+#include <EXTERN.h>
+#include <perl.h>
+
+int main(void)
+{
+ perl_alloc();
+
+ return 0;
+}