perf tools: Separate the checking of headers only used to build beautification tables
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 Sep 2020 11:56:38 +0000 (08:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 Sep 2020 11:56:38 +0000 (08:56 -0300)
commitd758d5d474ac5a9eb4e23188261c75bb1393afdf
tree91173b0bfbef7fdca11e8a5f7ff02bbc7adaebb1
parent717d182e4173c037fb9e720a046dec804fd9990e
perf tools: Separate the checking of headers only used to build beautification tables

Some headers are not used in building the tools directly, but instead to
generate tables that then gets source code included to do id->string and
string->id lookups for things like syscall flags and commands.

We were adding it directly to tools/include/ and this sometimes gets in
the way of building using system headers, lets untangle this a bit.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/check-headers.sh