Lines Matching refs:comm
102 char *comm; member
179 static void pid_set_comm(int pid, char *comm) in pid_set_comm() argument
186 if (c->comm && strcmp(c->comm, comm) == 0) { in pid_set_comm()
190 if (!c->comm) { in pid_set_comm()
191 c->comm = strdup(comm); in pid_set_comm()
199 c->comm = strdup(comm); in pid_set_comm()
211 if (pp->current && pp->current->comm && !p->current) in pid_fork()
212 pid_set_comm(pid, pp->current->comm); in pid_fork()
279 pid_set_comm(event->comm.tid, event->comm.comm); in process_comm_event()
328 char comm[TASK_COMM_LEN]; member
706 task_from = strdup(c->comm); in draw_wakeups()
710 task_to = strdup(c->comm); in draw_wakeups()
719 task_from = strdup(c->comm); in draw_wakeups()
723 task_to = strdup(c->comm); in draw_wakeups()
765 svg_process(sample->cpu, sample->start_time, sample->end_time, "sample", c->comm); in draw_cpu_usage()
806 if (c->comm) { in draw_process_bars()
807 char comm[256]; in draw_process_bars() local
809 sprintf(comm, "%s:%i (%2.2fs)", c->comm, p->pid, c->total_time / 1000000000.0); in draw_process_bars()
811 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / 1000000.0); in draw_process_bars()
813 svg_text(Y, c->start_time, comm); in draw_process_bars()
848 if (strcmp(filt->name, c->comm) == 0) in passes_filter()
976 .comm = process_comm_event, in __cmd_timechart()