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 = thread__db_id(main_thread); 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()
295 struct thread *main_thread, in db_export__threads() argument
302 if (main_thread) { in db_export__threads()
307 err = db_export__thread(dbe, main_thread, machine, main_thread); in db_export__threads()
314 comm = machine__thread_exec_comm(machine, main_thread); in db_export__threads()
316 err = db_export__exec_comm(dbe, comm, main_thread); in db_export__threads()
323 if (thread != main_thread) { in db_export__threads()
330 err = db_export__thread(dbe, thread, machine, main_thread); in db_export__threads()
359 struct thread *main_thread; in db_export__sample() local
373 main_thread = thread__main_thread(machine, thread); in db_export__sample()
375 err = db_export__threads(dbe, thread, main_thread, machine, &comm); in db_export__sample()
416 thread__put(main_thread); in db_export__sample()
533 struct thread *main_thread; in db_export__pid_tid() local
541 main_thread = thread__main_thread(machine, thread); in db_export__pid_tid()
543 err = db_export__threads(dbe, thread, main_thread, machine, comm_ptr); in db_export__pid_tid()
547 thread__put(main_thread); in db_export__pid_tid()