Home
last modified time | relevance | path

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

/tools/lib/subcmd/
Dhelp.c192 struct cmdnames *other_cmds) in load_command_list() argument
211 list_commands_in_dir(other_cmds, path, prefix); in load_command_list()
219 qsort(other_cmds->names, other_cmds->cnt, in load_command_list()
220 sizeof(*other_cmds->names), cmdname_compare); in load_command_list()
221 uniq(other_cmds); in load_command_list()
224 exclude_cmds(other_cmds, main_cmds); in load_command_list()
228 struct cmdnames *other_cmds) in list_commands() argument
235 for (i = 0; i < other_cmds->cnt; i++) in list_commands()
236 if (longest < other_cmds->names[i]->len) in list_commands()
237 longest = other_cmds->names[i]->len; in list_commands()
[all …]
Dhelp.h23 struct cmdnames *other_cmds);
32 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()
66 load_command_list("perf-", &main_cmds, &other_cmds); in help_unknown_cmd()
69 add_cmd_list(&main_cmds, &other_cmds) < 0) { in help_unknown_cmd()
/tools/perf/
Dbuiltin-help.c286 static struct cmdnames main_cmds, other_cmds; variable
307 is_in_cmdlist(&other_cmds, s); in is_perf_command()
452 load_command_list("perf-", &main_cmds, &other_cmds); in cmd_help()
461 list_commands("perf commands", &main_cmds, &other_cmds); in cmd_help()