]> git.ipfire.org Git - thirdparty/linux.git/commit
perf help: Move common_cmds into builtin-help
authorIan Rogers <irogers@google.com>
Thu, 4 Dec 2025 21:11:43 +0000 (13:11 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 14 Jan 2026 20:22:50 +0000 (17:22 -0300)
commit47d3545faeeb6822f404ddb237985e1824a8bd70
treed9f880d9a89ba3a0a81104e35cd443f0501460bd
parentd0a3df886d777180322a254176c40fd4a4a23cbe
perf help: Move common_cmds into builtin-help

There's a lot of infrastructure for generating a relatively simple
array used by one function.

Move the array into the function and remove the supporting build logic.

At the same time opportunistically const-ify the array.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Charlie Jenkins <charlie@rivosinc.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/builtin-help.c
tools/perf/command-list.txt [deleted file]
tools/perf/util/Build
tools/perf/util/generate-cmdlist.sh [deleted file]