Searched refs:cmdline_count (Results 1 – 2 of 2) sorted by relevance
/external/libtraceevent/src/ |
D | event-parse-local.h | 42 int cmdline_count; member
|
D | event-parse.c | 185 cmdlines = malloc(sizeof(*cmdlines) * tep->cmdline_count); in cmdline_init() 199 qsort(cmdlines, tep->cmdline_count, sizeof(*cmdlines), cmdline_cmp); in cmdline_init() 220 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline() 249 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in tep_is_pid_registered() 277 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count, in add_new_comm() 295 cmdlines = realloc(cmdlines, sizeof(*cmdlines) * (tep->cmdline_count + 1)); in add_new_comm() 308 if (!tep->cmdline_count) { in add_new_comm() 311 tep->cmdline_count++; in add_new_comm() 316 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count - 1, in add_new_comm() 319 cnt = tep->cmdline_count; in add_new_comm() [all …]
|