diff options
author | Michael Petlan <mpetlan@redhat.com> | 2022-04-05 00:15:41 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-04-09 14:21:00 -0300 |
commit | 3e6b43beb7b56ac6fd376c84f06d90ded73a2788 (patch) | |
tree | e1574d489ed03ae1a22ec3a139a15ce40938135e /tools/perf/util/annotate.c | |
parent | 0ff26efe92844aa3910eff8951739d44a5ab6493 (diff) | |
download | linux-stable-3e6b43beb7b56ac6fd376c84f06d90ded73a2788.tar.gz linux-stable-3e6b43beb7b56ac6fd376c84f06d90ded73a2788.tar.bz2 linux-stable-3e6b43beb7b56ac6fd376c84f06d90ded73a2788.zip |
perf tools: Add external commands to list-cmds
The `perf --list-cmds` output prints only internal commands, although
there is no reason for that from users' perspective.
Adding the external commands to commands array with NULL function
pointer allows printing all perf commands while not changing the logic
of command handler selection.
Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220404221541.30312-2-mpetlan@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions