Home
last modified time | relevance | path

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

/external/linux-tools-perf/util/
Dhelp.c163 struct cmdnames *main_cmds, in load_command_list() argument
170 list_commands_in_dir(main_cmds, exec_path, prefix); in load_command_list()
171 qsort(main_cmds->names, main_cmds->cnt, in load_command_list()
172 sizeof(*main_cmds->names), cmdname_compare); in load_command_list()
173 uniq(main_cmds); in load_command_list()
195 exclude_cmds(other_cmds, main_cmds); in load_command_list()
198 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands() argument
203 for (i = 0; i < main_cmds->cnt; i++) in list_commands()
204 if (longest < main_cmds->names[i]->len) in list_commands()
205 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/
Dbuiltin-help.c276 static struct cmdnames main_cmds, other_cmds; variable
296 return is_in_cmdlist(&main_cmds, s) || in is_perf_command()
418 load_command_list("perf-", &main_cmds, &other_cmds); in cmd_help()
427 list_commands("perf commands", &main_cmds, &other_cmds); in cmd_help()