Home
last modified time | relevance | path

Searched refs:current_tcp (Results 1 – 2 of 2) sorted by relevance

/external/strace/
Dstrace.c159 static struct tcb *current_tcp; variable
401 if (current_tcp && current_tcp->curcol != 0) { in ptrace_restart()
539 if (current_tcp) { in tvprintf()
540 int n = vfprintf(current_tcp->outf, fmt, args); in tvprintf()
543 outf_perror(current_tcp); in tvprintf()
545 current_tcp->curcol += n; in tvprintf()
565 if (current_tcp) { in tprints()
566 int n = fputs_unlocked(str, current_tcp->outf); in tprints()
568 current_tcp->curcol += strlen(str); in tprints()
572 outf_perror(current_tcp); in tprints()
[all …]
DChangeLog8381 trace_syscall with TCB_RECOVERING flag being set for the current_tcp
9086 Call set_current_tcp instead of setting current_tcp manually.
47997 * strace.c: Replace curcol static variable by struct tcb *current_tcp.
47999 (ptrace_restart): Use current_tcp->curcol instead of curcol.
48000 (tprintf): Check current_tcp != NULL instead of outf != NULL.
48001 Use current_tcp->outf instead of outf, current_tcp->curcol instead of curcol.
48004 (printleader): Switch current tcb by "current_tcp = tcp" istead of
48006 (droptcb): Set current_tcp to NULL if we dropped it.