Searched refs:main_cmds (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.6/tools/perf/util/ |
| D | help-unknown-cmd.c | 58 struct cmdnames main_cmds, other_cmds; in help_unknown_cmd() local 60 memset(&main_cmds, 0, sizeof(main_cmds)); in help_unknown_cmd() 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() 71 qsort(main_cmds.names, main_cmds.cnt, in help_unknown_cmd() 72 sizeof(main_cmds.names), cmdname_compare); in help_unknown_cmd() 73 uniq(&main_cmds); in help_unknown_cmd() 75 if (main_cmds.cnt) { in help_unknown_cmd() 77 for (i = 0; i < main_cmds.cnt; ++i) in help_unknown_cmd() [all …]
|
| /Linux-v6.6/tools/lib/subcmd/ |
| D | help.c | 207 struct cmdnames *main_cmds, in load_command_list() argument 214 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list() 215 qsort(main_cmds->names, main_cmds->cnt, in load_command_list() 216 sizeof(*main_cmds->names), cmdname_compare); in load_command_list() 217 uniq(main_cmds); in load_command_list() 240 exclude_cmds(other_cmds, main_cmds); in load_command_list() 243 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands() argument 248 for (i = 0; i < main_cmds->cnt; i++) in list_commands() 249 if (longest < main_cmds->names[i]->len) in list_commands() 250 longest = main_cmds->names[i]->len; in list_commands() [all …]
|
| D | help.h | 24 struct cmdnames *main_cmds, 33 void list_commands(const char *title, struct cmdnames *main_cmds,
|
| /Linux-v6.6/tools/perf/ |
| D | builtin-help.c | 300 static struct cmdnames main_cmds, other_cmds; variable 460 load_command_list("perf-", &main_cmds, &other_cmds); in cmd_help() 471 list_commands("perf commands", &main_cmds, &other_cmds); in cmd_help()
|