Home
last modified time | relevance | path

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

/Linux-v5.10/tools/lib/traceevent/
Devent-parse-local.h42 int cmdline_count; member
Devent-parse.c171 cmdlines = malloc(sizeof(*cmdlines) * tep->cmdline_count); in cmdline_init()
185 qsort(cmdlines, tep->cmdline_count, sizeof(*cmdlines), cmdline_cmp); in cmdline_init()
206 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline()
235 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in tep_is_pid_registered()
263 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count, in add_new_comm()
281 cmdlines = realloc(cmdlines, sizeof(*cmdlines) * (tep->cmdline_count + 1)); in add_new_comm()
294 if (!tep->cmdline_count) { in add_new_comm()
297 tep->cmdline_count++; in add_new_comm()
302 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count - 1, in add_new_comm()
305 cnt = tep->cmdline_count; in add_new_comm()
[all …]