]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf check: Move the FEATURE_STATUS() macro to its only user source file
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Apr 2025 13:51:01 +0000 (10:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Apr 2025 13:44:12 +0000 (10:44 -0300)
commit0afeacbc8d0828140410ce144a60f6159a8e8437
treec75f03e1fc6260c8e130b7a92b22e73ee28dbbfa
parent6994c6374a4e4a4fbb67fbe231420ca6c3bee4b6
perf check: Move the FEATURE_STATUS() macro to its only user source file

It is just 'perf check' that uses that macro, to initialize the list of
features built into perf, so move it there.

This also avoids depending on things that are not included from
builtin.h, like is_builtin(), the CONFIG_ macros, etc, that are all
included in 'builtin-check.c' and before where this macro was moved to.

Tested-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Dmitriy Vyukov <dvyukov@google.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/Z_dkNDj9EPFwPqq1@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-check.c
tools/perf/builtin.h