Home
last modified time | relevance | path

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

/external/strace/
Dstrace.c149 static struct tcb *current_tcp; variable
430 if (current_tcp && current_tcp->curcol != 0) { in ptrace_restart()
578 if (current_tcp) { in tprintf()
579 int n = vfprintf(current_tcp->outf, fmt, args); in tprintf()
581 if (current_tcp->outf != stderr) in tprintf()
584 current_tcp->curcol += n; in tprintf()
596 if (current_tcp) { in tprints()
597 int n = fputs_unlocked(str, current_tcp->outf); in tprints()
599 current_tcp->curcol += strlen(str); in tprints()
602 if (current_tcp->outf != stderr) in tprints()
[all …]
DChangeLog28807 * strace.c: Replace curcol static variable by struct tcb *current_tcp.
28809 (ptrace_restart): Use current_tcp->curcol instead of curcol.
28810 (tprintf): Check current_tcp != NULL instead of outf != NULL.
28811 Use current_tcp->outf instead of outf, current_tcp->curcol instead of curcol.
28814 (printleader): Switch current tcb by "current_tcp = tcp" istead of
28816 (droptcb): Set current_tcp to NULL if we dropped it.