Home
last modified time | relevance | path

Searched refs:main_cmds (Results 1 – 3 of 3) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Dhelp.c158 struct cmdnames *main_cmds, in load_command_list() argument
165 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list()
166 qsort(main_cmds->names, main_cmds->cnt, in load_command_list()
167 sizeof(*main_cmds->names), cmdname_compare); in load_command_list()
168 uniq(main_cmds); in load_command_list()
190 exclude_cmds(other_cmds, main_cmds); in load_command_list()
193 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands() argument
198 for (i = 0; i < main_cmds->cnt; i++) in list_commands()
199 if (longest < main_cmds->names[i]->len) in list_commands()
200 longest = main_cmds->names[i]->len; in list_commands()
[all …]
Dhelp.h20 struct cmdnames *main_cmds,
26 void list_commands(const char *title, struct cmdnames *main_cmds,
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-help.c266 static struct cmdnames main_cmds, other_cmds; variable
286 return is_in_cmdlist(&main_cmds, s) || in is_perf_command()
434 load_command_list("perf-", &main_cmds, &other_cmds); in cmd_help()
443 list_commands("perf commands", &main_cmds, &other_cmds); in cmd_help()