Lines Matching refs:comm
32 struct comm *comm; member
43 err = dbe->export_comm(dbe, de->comm); in db_export__deferred()
65 static int db_export__defer_comm(struct db_export *dbe, struct comm *comm) in db_export__defer_comm() argument
73 de->comm = comm; in db_export__defer_comm()
125 struct machine *machine, struct comm *comm) in db_export__thread() argument
146 comm); in db_export__thread()
149 if (comm) { in db_export__thread()
150 err = db_export__comm_thread(dbe, comm, thread); in db_export__thread()
171 int db_export__comm(struct db_export *dbe, struct comm *comm, in db_export__comm() argument
176 if (comm->db_id) in db_export__comm()
179 comm->db_id = ++dbe->comm_last_db_id; in db_export__comm()
183 err = dbe->export_comm(dbe, comm); in db_export__comm()
185 err = db_export__defer_comm(dbe, comm); in db_export__comm()
190 return db_export__comm_thread(dbe, comm, main_thread); in db_export__comm()
193 int db_export__comm_thread(struct db_export *dbe, struct comm *comm, in db_export__comm_thread() argument
201 return dbe->export_comm_thread(dbe, db_id, comm, thread); in db_export__comm_thread()
362 struct comm *comm = NULL; in db_export__sample() local
375 comm = machine__thread_exec_comm(al->machine, main_thread); in db_export__sample()
377 err = db_export__thread(dbe, thread, al->machine, comm); in db_export__sample()
381 if (comm) { in db_export__sample()
382 err = db_export__comm(dbe, comm, main_thread); in db_export__sample()
385 es.comm_db_id = comm->db_id; in db_export__sample()
414 err = thread_stack__process(thread, comm, sample, al, in db_export__sample()