Lines Matching defs:comm
60 * Each "pid" entry, has a list of "comm"s.
63 * Each comm has a list of samples that will be used to draw
96 char *comm;
174 static void pid_set_comm(int pid, char *comm)
181 if (c->comm && strcmp(c->comm, comm) == 0) {
185 if (!c->comm) {
186 c->comm = strdup(comm);
195 c->comm = strdup(comm);
207 if (pp->current && pp->current->comm && !p->current)
208 pid_set_comm(pid, pp->current->comm);
277 pid_set_comm(event->comm.tid, event->comm.comm);
311 char comm[TASK_COMM_LEN];
651 task_from = strdup(c->comm);
655 task_to = strdup(c->comm);
664 task_from = strdup(c->comm);
668 task_to = strdup(c->comm);
710 svg_process(sample->cpu, sample->start_time, sample->end_time, "sample", c->comm);
751 if (c->comm) {
752 char comm[256];
754 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / 1000000000.0);
756 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / 1000000.0);
758 svg_text(Y, c->start_time, comm);
795 if (strcmp(filt->name, c->comm) == 0)
921 .comm = process_comm_event,