tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target
authorIngo Molnar <mingo@kernel.org>
Tue, 1 Oct 2013 12:14:31 +0000 (14:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 06:48:49 +0000 (08:48 +0200)
commitbaa9c30e1e250abf3e53b98e5bcf415dccdc7ba2
tree1bf3e1b7548aa685eb2b187690aa11fbe49f38fc
parentfb1c9185e36cf9c616ac15f54e54a01f052672bd
tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target

Concatenate all feature checks into test-all.c.

This can be built and checked faster than all the individual tests.

If test-all fails then we still check all the individual features, so
this is a pure speedup, it should have no effects on functionality.

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-5hlcb2qorzwfwrWTjiygjjih@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/config/Makefile
tools/perf/config/feature-checks/Makefile
tools/perf/config/feature-checks/test-all.c [new file with mode: 0644]