tools/perf/build: Add feature check core code
authorIngo Molnar <mingo@kernel.org>
Mon, 30 Sep 2013 08:08:24 +0000 (10:08 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Oct 2013 06:48:28 +0000 (08:48 +0200)
commitb6aa9979416e2e98a800925d60ad00e83bc7cb7a
treee76fb095bafd2361d8695cfbe696d01adaa8c1ad
parent89fe808ae777728da6e1d78b7d13562792310d17
tools/perf/build: Add feature check core code

Start the split-out of the feature check code by adding a list of features to be
tested, and rules to process that list by building its matching feature-check
file in config/feature-checks/test-<feature>.c.

Add 'hello' as the initial feature.

This structure will allow us to build split-out feature checks in parallel and
thus speed up feature detection dramatically.

No change in functionality: no feature check is used by the build rules yet.

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