Lines Matching defs:comm
85 * Each "pid" entry, has a list of "comm"s.
88 * Each comm has a list of samples that will be used to draw
124 char *comm;
232 static void pid_set_comm(struct timechart *tchart, int pid, char *comm)
239 if (c->comm && strcmp(c->comm, comm) == 0) {
243 if (!c->comm) {
244 c->comm = strdup(comm);
252 c->comm = strdup(comm);
261 if (pp->current && pp->current->comm && !p->current)
262 pid_set_comm(tchart, pid, pp->current->comm);
329 pid_set_comm(tchart, event->comm.tid, event->comm.comm);
1064 task_from = strdup(c->comm);
1068 task_to = strdup(c->comm);
1077 task_from = strdup(c->comm);
1081 task_to = strdup(c->comm);
1128 c->comm,
1144 char comm[256];
1244 sprintf(comm, "%s:%i (%3.1f %sbytes)", c->comm ?: "", p->pid, bytes, suf);
1245 svg_text(Y, c->start_time, comm);
1295 if (c->comm) {
1296 char comm[256];
1298 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC);
1300 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC);
1302 svg_text(Y, c->start_time, comm);
1337 if (strcmp(filt->name, c->comm) == 0)
1928 .comm = process_comm_event,