Home
last modified time | relevance | path

Searched refs:cmdlines (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/tools/lib/traceevent/
Devent-parse.c174 struct tep_cmdline *cmdlines; in cmdline_init() local
177 cmdlines = malloc(sizeof(*cmdlines) * tep->cmdline_count); in cmdline_init()
178 if (!cmdlines) in cmdline_init()
183 cmdlines[i].pid = cmdlist->pid; in cmdline_init()
184 cmdlines[i].comm = cmdlist->comm; in cmdline_init()
191 qsort(cmdlines, tep->cmdline_count, sizeof(*cmdlines), cmdline_cmp); in cmdline_init()
193 tep->cmdlines = cmdlines; in cmdline_init()
207 if (!tep->cmdlines && cmdline_init(tep)) in find_cmdline()
212 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline()
213 sizeof(*tep->cmdlines), cmdline_cmp); in find_cmdline()
[all …]
Devent-parse-local.h37 struct tep_cmdline *cmdlines; member