Lines Matching refs:main_thread
63 struct machine *machine, struct thread *main_thread) in db_export__thread() argument
72 if (main_thread) in db_export__thread()
73 main_thread_db_id = main_thread->db_id; in db_export__thread()
109 struct thread *main_thread) in db_export__exec_comm() argument
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()
291 struct thread *main_thread, in db_export__threads() argument
298 if (main_thread) { in db_export__threads()
303 err = db_export__thread(dbe, main_thread, machine, main_thread); in db_export__threads()
310 comm = machine__thread_exec_comm(machine, main_thread); in db_export__threads()
312 err = db_export__exec_comm(dbe, comm, main_thread); in db_export__threads()
319 if (thread != main_thread) { in db_export__threads()
326 err = db_export__thread(dbe, thread, machine, main_thread); in db_export__threads()
355 struct thread *main_thread; in db_export__sample() local
367 main_thread = thread__main_thread(al->maps->machine, thread); in db_export__sample()
369 err = db_export__threads(dbe, thread, main_thread, al->maps->machine, &comm); in db_export__sample()
410 thread__put(main_thread); in db_export__sample()
527 struct thread *main_thread; in db_export__pid_tid() local
535 main_thread = thread__main_thread(machine, thread); in db_export__pid_tid()
537 err = db_export__threads(dbe, thread, main_thread, machine, comm_ptr); in db_export__pid_tid()
541 thread__put(main_thread); in db_export__pid_tid()