Searched refs:main_cmds (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | help-unknown-cmd.c | 55 const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_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() 70 qsort(main_cmds->names, main_cmds->cnt, in help_unknown_cmd() 71 sizeof(main_cmds->names), cmdname_compare); in help_unknown_cmd() 72 uniq(main_cmds); in help_unknown_cmd() 74 if (main_cmds->cnt) { in help_unknown_cmd() 76 for (i = 0; i < main_cmds->cnt; ++i) { in help_unknown_cmd() 77 main_cmds in help_unknown_cmd() 58 struct cmdnames main_cmds, other_cmds; help_unknown_cmd() local [all...] |
| /linux/tools/lib/subcmd/ |
| H A D | help.c | 222 struct cmdnames *main_cmds, in load_command_list() argument 229 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list() 230 qsort(main_cmds->names, main_cmds->cnt, in load_command_list() 231 sizeof(*main_cmds->names), cmdname_compare); in load_command_list() 232 uniq(main_cmds); in load_command_list() 255 exclude_cmds(other_cmds, main_cmds); in load_command_list() 258 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands() argument 263 for (i = 0; i < main_cmds->cnt; i++) in list_commands() 264 if (longest < main_cmds->names[i]->len) in list_commands() 265 longest = main_cmds->names[i]->len; in list_commands() [all …]
|
| H A D | help.h | 24 struct cmdnames *main_cmds, 33 void list_commands(const char *title, struct cmdnames *main_cmds,
|
| /linux/tools/perf/ |
| H A D | perf.c | 559 struct cmdnames main_cmds = {}; in main() local 562 add_cmdname(&main_cmds, in main() 566 cmd = argv[0] = help_unknown_cmd(cmd, &main_cmds); in main() 567 clean_cmdnames(&main_cmds); in main()
|
| H A D | builtin.h | 19 const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds);
|