Lines Matching defs:comm
82 * Each "pid" entry, has a list of "comm"s.
85 * Each comm has a list of samples that will be used to draw
121 char *comm;
216 static void pid_set_comm(struct timechart *tchart, int pid, char *comm)
223 if (c->comm && strcmp(c->comm, comm) == 0) {
227 if (!c->comm) {
228 c->comm = strdup(comm);
236 c->comm = strdup(comm);
248 if (pp->current && pp->current->comm && !p->current)
249 pid_set_comm(tchart, pid, pp->current->comm);
319 pid_set_comm(tchart, event->comm.tid, event->comm.comm);
1055 task_from = strdup(c->comm);
1059 task_to = strdup(c->comm);
1068 task_from = strdup(c->comm);
1072 task_to = strdup(c->comm);
1119 c->comm,
1135 char comm[256];
1235 sprintf(comm, "%s:%i (%3.1f %sbytes)", c->comm ?: "", p->pid, bytes, suf);
1236 svg_text(Y, c->start_time, comm);
1286 if (c->comm) {
1287 char comm[256];
1289 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / (double)NSEC_PER_SEC);
1291 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC);
1293 svg_text(Y, c->start_time, comm);
1328 if (strcmp(filt->name, c->comm) == 0)
1920 .comm = process_comm_event,