Searched refs:cmdlines (Results 1 – 2 of 2) sorted by relevance
168 struct tep_cmdline *cmdlines; in cmdline_init() local171 cmdlines = malloc(sizeof(*cmdlines) * tep->cmdline_count); in cmdline_init()172 if (!cmdlines) in cmdline_init()177 cmdlines[i].pid = cmdlist->pid; in cmdline_init()178 cmdlines[i].comm = cmdlist->comm; in cmdline_init()185 qsort(cmdlines, tep->cmdline_count, sizeof(*cmdlines), cmdline_cmp); in cmdline_init()187 tep->cmdlines = cmdlines; in cmdline_init()201 if (!tep->cmdlines && cmdline_init(tep)) in find_cmdline()206 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline()207 sizeof(*tep->cmdlines), cmdline_cmp); in find_cmdline()[all …]
40 struct tep_cmdline *cmdlines; member