Searched refs:cmdline_count (Results 1 – 2 of 2) sorted by relevance
/tools/lib/traceevent/ |
D | event-parse-local.h | 39 int cmdline_count; member
|
D | event-parse.c | 177 cmdlines = malloc(sizeof(*cmdlines) * tep->cmdline_count); in cmdline_init() 191 qsort(cmdlines, tep->cmdline_count, sizeof(*cmdlines), cmdline_cmp); in cmdline_init() 212 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline() 241 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in tep_is_pid_registered() 269 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count, in add_new_comm() 287 cmdlines = realloc(cmdlines, sizeof(*cmdlines) * (tep->cmdline_count + 1)); in add_new_comm() 300 if (!tep->cmdline_count) { in add_new_comm() 303 tep->cmdline_count++; in add_new_comm() 308 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count - 1, in add_new_comm() 311 cnt = tep->cmdline_count; in add_new_comm() [all …]
|