Searched refs:other_cmds (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/lib/subcmd/ |
| H A D | help.c | 223 struct cmdnames *other_cmds) in load_command_list() argument 242 list_commands_in_dir(other_cmds, path, prefix); in load_command_list() 250 qsort(other_cmds->names, other_cmds->cnt, in load_command_list() 251 sizeof(*other_cmds->names), cmdname_compare); in load_command_list() 252 uniq(other_cmds); in load_command_list() 255 exclude_cmds(other_cmds, main_cmds); in load_command_list() 259 struct cmdnames *other_cmds) in list_commands() argument 266 for (i = 0; i < other_cmds->cnt; i++) in list_commands() 267 if (longest < other_cmds->names[i]->len) in list_commands() 268 longest = other_cmds->names[i]->len; in list_commands() [all …]
|
| H A D | help.h | 25 struct cmdnames *other_cmds); 34 struct cmdnames *other_cmds);
|
| /linux/tools/perf/util/ |
| H A D | help-unknown-cmd.c | 58 struct cmdnames other_cmds; in help_unknown_cmd() local 60 memset(&other_cmds, 0, sizeof(other_cmds)); in help_unknown_cmd() 64 load_command_list("perf-", main_cmds, &other_cmds); in help_unknown_cmd() 66 if (add_cmd_list(main_cmds, &other_cmds) < 0) { in help_unknown_cmd() 97 clean_cmdnames(&other_cmds); in help_unknown_cmd() 120 clean_cmdnames(&other_cmds); in help_unknown_cmd()
|