diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-10-02 03:54:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-10-09 02:48:53 -0400 |
commit | f1138ec66e839ce90c58af0c264db33271d73466 (patch) | |
tree | 684820b98aa66aea8f02aa0b0c8be1abb4f0152f /tools/perf/config/feature-checks/Makefile | |
parent | de0f03fb8dc268de63d366e735cc576a22df201b (diff) |
tools/perf/build: Speed up auto-detection
The detection of certain rarely detected features can be delayed
to when they are actually needed.
So speed up the common case of auto-detection by pre-building only
a core set of features and populating only their feature-flags.
[ Features not listed in CORE_FEATURES need to built explicitly
via the feature_check() function. ]
(Also order the feature names alphabetically, while at it.)
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-xQkuveknd0gqla1dfxrqKpkl@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/config/feature-checks/Makefile')
-rw-r--r-- | tools/perf/config/feature-checks/Makefile | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/tools/perf/config/feature-checks/Makefile b/tools/perf/config/feature-checks/Makefile index 4b855e0ccd0b..d4c55acc82bb 100644 --- a/tools/perf/config/feature-checks/Makefile +++ b/tools/perf/config/feature-checks/Makefile | |||
@@ -1,28 +1,29 @@ | |||
1 | 1 | ||
2 | FILES= \ | 2 | FILES= \ |
3 | test-hello \ | 3 | test-all \ |
4 | test-stackprotector-all \ | 4 | test-backtrace \ |
5 | test-stackprotector \ | ||
6 | test-volatile-register-var \ | ||
7 | test-fortify-source \ | ||
8 | test-bionic \ | 5 | test-bionic \ |
9 | test-libelf \ | ||
10 | test-glibc \ | ||
11 | test-dwarf \ | 6 | test-dwarf \ |
12 | test-libelf-mmap \ | 7 | test-fortify-source \ |
13 | test-libelf-getphdrnum \ | 8 | test-glibc \ |
14 | test-libunwind \ | ||
15 | test-libaudit \ | ||
16 | test-libslang \ | ||
17 | test-gtk2 \ | 9 | test-gtk2 \ |
18 | test-gtk2-infobar \ | 10 | test-gtk2-infobar \ |
11 | test-hello \ | ||
12 | test-libaudit \ | ||
13 | test-libbfd \ | ||
14 | test-libelf \ | ||
15 | test-libelf-getphdrnum \ | ||
16 | test-libelf-mmap \ | ||
17 | test-libnuma \ | ||
19 | test-libperl \ | 18 | test-libperl \ |
20 | test-libpython \ | 19 | test-libpython \ |
21 | test-libpython-version \ | 20 | test-libpython-version \ |
22 | test-libbfd \ | 21 | test-libslang \ |
22 | test-libunwind \ | ||
23 | test-on-exit \ | 23 | test-on-exit \ |
24 | test-backtrace \ | 24 | test-stackprotector-all \ |
25 | test-libnuma | 25 | test-stackprotector \ |
26 | test-volatile-register-var | ||
26 | 27 | ||
27 | CC := $(CC) -MD | 28 | CC := $(CC) -MD |
28 | 29 | ||