Searched refs:main_cmds (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/perf/util/
H A Dhelp-unknown-cmd.c58 struct cmdnames main_cmds, other_cmds; local
60 memset(&main_cmds, 0, sizeof(main_cmds));
61 memset(&other_cmds, 0, sizeof(main_cmds));
65 load_command_list("perf-", &main_cmds, &other_cmds);
67 if (add_cmd_list(&main_cmds, &other_cmds) < 0) {
71 qsort(main_cmds.names, main_cmds.cnt,
72 sizeof(main_cmds.names), cmdname_compare);
73 uniq(&main_cmds);
[all...]
/linux-master/tools/lib/subcmd/
H A Dhelp.h24 struct cmdnames *main_cmds,
33 void list_commands(const char *title, struct cmdnames *main_cmds,
H A Dhelp.c217 struct cmdnames *main_cmds,
224 list_commands_in_dir(main_cmds, exec_path, prefix);
225 qsort(main_cmds->names, main_cmds->cnt,
226 sizeof(*main_cmds->names), cmdname_compare);
227 uniq(main_cmds);
250 exclude_cmds(other_cmds, main_cmds);
253 void list_commands(const char *title, struct cmdnames *main_cmds, argument
258 for (i = 0; i < main_cmds->cnt; i++)
259 if (longest < main_cmds
216 load_command_list(const char *prefix, struct cmdnames *main_cmds, struct cmdnames *other_cmds) argument
[all...]
/linux-master/tools/perf/
H A Dbuiltin-help.c300 static struct cmdnames main_cmds, other_cmds; variable in typeref:struct:cmdnames
460 load_command_list("perf-", &main_cmds, &other_cmds);
471 list_commands("perf commands", &main_cmds, &other_cmds);

Completed in 86 milliseconds