diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-09-30 09:18:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-09 02:48:44 -0400 |
commit | 9734163b6ee1425c6fa4b65d7e6ce34c9079420d (patch) | |
tree | e6cc2150e60d3455e36be9ebbf55ac0f90a28636 /tools/perf/config/feature-checks/test-libpython.c | |
parent | 7181a6714efc5039ffb50db7462d5cefe15b5630 (diff) |
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.c | 7 |
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 @@ | |||
1 | #include <Python.h> | ||
2 | # | ||
3 | int main(void) | ||
4 | { | ||
5 | Py_Initialize(); | ||
6 | return 0; | ||
7 | } | ||