summaryrefslogtreecommitdiffstats
path: root/tools/perf/config/feature-checks/test-libpython.c
diff options
context:
space:
mode:
authorIngo Molnar2013-09-30 15:18:37 +0200
committerIngo Molnar2013-10-09 08:48:44 +0200
commit9734163b6ee1425c6fa4b65d7e6ce34c9079420d (patch)
treee6cc2150e60d3455e36be9ebbf55ac0f90a28636 /tools/perf/config/feature-checks/test-libpython.c
parenttools/perf/build: Split out feature check: 'libperl' (diff)
downloadkernel-qcow2-linux-9734163b6ee1425c6fa4b65d7e6ce34c9079420d.tar.gz
kernel-qcow2-linux-9734163b6ee1425c6fa4b65d7e6ce34c9079420d.tar.xz
kernel-qcow2-linux-9734163b6ee1425c6fa4b65d7e6ce34c9079420d.zip
tools/perf/build: Split out feature check: 'libpython'
Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/n/tip-9wfutfb8ufFHrddrwlejqrai@git.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/feature-checks/test-libpython.c')
-rw-r--r--tools/perf/config/feature-checks/test-libpython.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/config/feature-checks/test-libpython.c b/tools/perf/config/feature-checks/test-libpython.c
new file mode 100644
index 000000000000..72267972fa98
--- /dev/null
+++ b/tools/perf/config/feature-checks/test-libpython.c
@@ -0,0 +1,7 @@
+#include <Python.h>
+#
+int main(void)
+{
+ Py_Initialize();
+ return 0;
+}