Lines Matching refs:task_info
209 struct pid_task * task_info = &pids->tasks[pids->count++]; in add_task_info() local
210 memset(task_info, 0, sizeof(*task_info)); in add_task_info()
211 task_info->pid = pid; in add_task_info()
212 return task_info; in add_task_info()
245 struct pid_task *task_info = get_task_info(pids, task->pid); in task_blocked() local
246 if (task_info != NULL in task_blocked()
247 && task_info->vforked) in task_blocked()
277 struct pid_task *task_info = get_task_info(pids, task->pid); in send_sigstop() local
278 if (task_info == NULL) in send_sigstop()
279 task_info = add_task_info(pids, task->pid); in send_sigstop()
280 if (task_info == NULL) { in send_sigstop()
299 if (task_info->sigstopped) { in send_sigstop()
300 if (!task_info->delivered) in send_sigstop()
302 task_info->delivered = 0; in send_sigstop()
311 task_info->vforked = 1; in send_sigstop()
317 task_info->sigstopped = 1; in send_sigstop()
440 handle_stopping_event(struct pid_task *task_info, Event **eventp) in handle_stopping_event() argument
443 if (task_info != NULL) in handle_stopping_event()
444 task_info->got_event = 1; in handle_stopping_event()
450 if (task_info != NULL in handle_stopping_event()
453 debug(DEBUG_PROCESS, "SIGSTOP delivered to %d", task_info->pid); in handle_stopping_event()
454 if (task_info->sigstopped in handle_stopping_event()
455 && !task_info->delivered) { in handle_stopping_event()
456 task_info->delivered = 1; in handle_stopping_event()
461 task_info->pid, task_info->sigstopped, in handle_stopping_event()
462 task_info->delivered); in handle_stopping_event()
504 await_sigstop_delivery(struct pid_set *pids, struct pid_task *task_info, in await_sigstop_delivery() argument
510 && task_info != NULL && task_info->sigstopped) { in await_sigstop_delivery()
512 task_info->pid); in await_sigstop_delivery()
516 ptrace(PTRACE_SYSCALL, task_info->pid, 0, 0); in await_sigstop_delivery()
729 struct pid_task *task_info = get_task_info(&self->pids, task->pid); in process_stopping_on_event() local
730 if (task_info == NULL) in process_stopping_on_event()
732 handle_stopping_event(task_info, &event); in process_stopping_on_event()
738 if (event_exit_p(event) && task_info != NULL) in process_stopping_on_event()
739 task_info->pid = 0; in process_stopping_on_event()
749 if (task_info != NULL) in process_stopping_on_event()
750 task_info->sysret = 1; in process_stopping_on_event()
821 if (await_sigstop_delivery(&self->pids, task_info, event)) in process_stopping_on_event()
955 struct pid_task *task_info = get_task_info(&self->pids, task->pid); in ltrace_exiting_on_event() local
956 handle_stopping_event(task_info, &event); in ltrace_exiting_on_event()
961 if (await_sigstop_delivery(&self->pids, task_info, event) in ltrace_exiting_on_event()