• Home
  • Raw
  • Download

Lines Matching refs:leader

141 	if (proc->leader == NULL) {  in process_bare_init()
148 if (proc->leader == proc) { in process_bare_init()
227 if (proc->leader != proc) { in process_init()
228 proc->e_machine = proc->leader->e_machine; in process_init()
229 proc->e_class = proc->leader->e_class; in process_init()
350 if (proc_add_breakpoint(data->new_proc->leader, clone) < 0) { in clone_single_bp()
372 if (retp->leader != retp) in process_clone()
379 for (lib = proc->leader->libraries; lib != NULL; lib = lib->next) { in process_clone()
409 if (DICT_EACH(proc->leader->breakpoints, in process_clone()
526 struct process *leader = proc->leader; in process_hit_start() local
527 assert(leader != NULL); in process_hit_start()
530 = proc_each_library(leader, NULL, is_main, NULL); in process_hit_start()
532 linkmap_init(leader, mainlib->dyn_addr); in process_hit_start()
533 arch_dynlink_done(leader); in process_hit_start()
588 struct process *leader = pid2proc(pid)->leader; in open_pid() local
592 process_hit_start(leader); in open_pid()
595 each_task(leader, NULL, start_one_pid, NULL); in open_pid()
663 struct process *it = start_after == NULL ? proc->leader in each_task()
667 struct process *leader = it->leader; in each_task() local
668 while (it != NULL && it->leader == leader) { in each_task()
696 proc->leader = proc; in add_process()
698 struct process *leader = pid2proc(tgid); in add_process() local
699 proc->leader = leader; in add_process()
700 if (leader != NULL) in add_process()
701 leaderp = &leader->next; in add_process()
713 change_process_leader(struct process *proc, struct process *leader) in change_process_leader() argument
716 if (proc->leader == leader) in change_process_leader()
719 assert(leader != NULL); in change_process_leader()
721 if (proc != leader) in change_process_leader()
722 leaderp = &leader->next; in change_process_leader()
724 proc->leader = leader; in change_process_leader()
733 proc->pid, proc->leader->pid); in clear_leader()
734 proc->leader = NULL; in clear_leader()
743 if (proc->leader == proc) in remove_process()
776 assert(proc->leader == proc); in breakpoint_for_symbol()
897 struct process *leader = proc->leader; in proc_add_library() local
898 Dwfl *dwfl = leader->dwfl; in proc_add_library()
908 "for process %d: %s\n", leader->pid, in proc_add_library()
924 if (leader->dwfl == NULL) { in proc_add_library()
926 leader->pid, in proc_add_library()
929 leader->dwfl = dwfl; in proc_add_library()
940 leader->pid, msg); in proc_add_library()
1013 assert(proc->leader != NULL); in check_leader()
1014 assert(proc->leader == proc); in check_leader()