Home
last modified time | relevance | path

Searched refs:other_cmds (Results 1 – 4 of 4) sorted by relevance

/tools/lib/subcmd/
Dhelp.c194 struct cmdnames *other_cmds) in load_command_list() argument
213 list_commands_in_dir(other_cmds, path, prefix); in load_command_list()
221 qsort(other_cmds->names, other_cmds->cnt, in load_command_list()
222 sizeof(*other_cmds->names), cmdname_compare); in load_command_list()
223 uniq(other_cmds); in load_command_list()
226 exclude_cmds(other_cmds, main_cmds); in load_command_list()
230 struct cmdnames *other_cmds) in list_commands() argument
237 for (i = 0; i < other_cmds->cnt; i++) in list_commands()
238 if (longest < other_cmds->names[i]->len) in list_commands()
239 longest = other_cmds->names[i]->len; in list_commands()
[all …]
Dhelp.h25 struct cmdnames *other_cmds);
34 struct cmdnames *other_cmds);
/tools/perf/util/
Dhelp-unknown-cmd.c58 struct cmdnames main_cmds, other_cmds; in help_unknown_cmd() local
61 memset(&other_cmds, 0, sizeof(main_cmds)); in help_unknown_cmd()
65 load_command_list("perf-", &main_cmds, &other_cmds); in help_unknown_cmd()
67 if (add_cmd_list(&main_cmds, &other_cmds) < 0) { in help_unknown_cmd()
/tools/perf/
Dbuiltin-help.c298 static struct cmdnames main_cmds, other_cmds; variable
457 load_command_list("perf-", &main_cmds, &other_cmds); in cmd_help()
468 list_commands("perf commands", &main_cmds, &other_cmds); in cmd_help()