diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-09-30 15:18:37 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-09 08:48:44 +0200 |
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 00000000000..72267972fa9 --- /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; +} |