Home | History | Annotate | Download | only in strace

Lines Matching refs:tcb

155 struct tcb *printing_tcp = NULL;
156 static struct tcb *current_tcp;
158 static struct tcb **tcbtab;
164 static void detach(struct tcb *tcp);
367 ptrace_restart(int op, struct tcb *tcp, int sig)
586 printleader(struct tcb *tcp)
588 /* If -ff, "previous tcb we printed" is always the same as current,
589 * because we have per-tcb output files.
599 * wasn't finished (same or different tcb, doesn't matter).
600 * case 2: split log, we are the same tcb, but our last line
660 newoutf(struct tcb *tcp)
679 struct tcb *newtcbs = calloc(tcbtabsize, sizeof(newtcbs[0]));
680 struct tcb **newtab = realloc(tcbtab, tcbtabsize * 2 * sizeof(tcbtab[0]));
689 static struct tcb *
693 struct tcb *tcp;
714 fprintf(stderr, "new tcb for pid %d, active tcbs:%d\n", tcp->pid, nprocs);
722 droptcb(struct tcb *tcp)
735 fprintf(stderr, "dropped tcb for pid %d, %d remain\n", tcp->pid, nprocs);
763 detach(struct tcb *tcp)
955 struct tcb *tcp;
1007 struct tcb *cur_tcp;
1164 struct tcb *tcp;
1427 struct tcb *tcp;
1769 static struct tcb *
1778 struct tcb *tcp = tcbtab[i];
1790 struct tcb *tcp;
1868 static struct tcb *
1886 struct tcb *tcp = alloctcb(pid);
1902 static struct tcb *
1903 maybe_switch_tcbs(struct tcb *tcp, const int pid)
1906 struct tcb *execve_thread;
1952 print_signalled(struct tcb *tcp, const int pid, int status)
1976 print_exited(struct tcb *tcp, const int pid, int status)
1992 print_stopped(struct tcb *tcp, const siginfo_t *si, const unsigned int sig)
2010 startup_tcb(struct tcb *tcp)
2041 struct tcb *tcp;
2118 * notification. Let user know that, drop leader's tcb,
2119 * and fix up pid in execve thread's tcb.
2120 * Effectively, execve thread's tcb replaces leader's tcb.