• Ingo Molnar's avatar
    tools/perf/build: Add feature check core code · b6aa9979
    Ingo Molnar authored
    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.orgSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
    b6aa9979
test-hello.c 59 Bytes