Lines Matching refs:comm
82 static int __db_export__comm(struct db_export *dbe, struct comm *comm, in __db_export__comm() argument
85 comm->db_id = ++dbe->comm_last_db_id; in __db_export__comm()
88 return dbe->export_comm(dbe, comm, thread); in __db_export__comm()
93 int db_export__comm(struct db_export *dbe, struct comm *comm, in db_export__comm() argument
96 if (comm->db_id) in db_export__comm()
99 return __db_export__comm(dbe, comm, thread); in db_export__comm()
108 int db_export__exec_comm(struct db_export *dbe, struct comm *comm, in db_export__exec_comm() argument
113 if (comm->db_id) in db_export__exec_comm()
116 err = __db_export__comm(dbe, comm, main_thread); in db_export__exec_comm()
130 return db_export__comm_thread(dbe, comm, main_thread); in db_export__exec_comm()
133 int db_export__comm_thread(struct db_export *dbe, struct comm *comm, in db_export__comm_thread() argument
141 return dbe->export_comm_thread(dbe, db_id, comm, thread); in db_export__comm_thread()
296 struct machine *machine, struct comm **comm_ptr) in db_export__threads()
298 struct comm *comm = NULL; in db_export__threads() local
299 struct comm *curr_comm; in db_export__threads()
314 comm = machine__thread_exec_comm(machine, main_thread); in db_export__threads()
315 if (comm) { in db_export__threads()
316 err = db_export__exec_comm(dbe, comm, main_thread); in db_export__threads()
319 *comm_ptr = comm; in db_export__threads()
328 bool export_comm_thread = comm && !thread__db_id(thread); in db_export__threads()
335 err = db_export__comm_thread(dbe, comm, thread); in db_export__threads()
360 struct comm *comm = NULL; in db_export__sample() local
375 err = db_export__threads(dbe, thread, main_thread, machine, &comm); in db_export__sample()
379 if (comm) in db_export__sample()
380 es.comm_db_id = comm->db_id; in db_export__sample()
404 err = thread_stack__process(thread, comm, sample, al, in db_export__sample()
530 struct comm **comm_ptr, bool *is_idle) in db_export__pid_tid()
564 struct comm *comm_a = NULL; in db_export__switch()
565 struct comm *comm_b = NULL; in db_export__switch()