path: strace_6.18+ds-2/src/defs.h * strace -oLOG -f[f] test/threaded_execve * strace -oLOG -f[f] test/sigkill_rain * strace -oLOG -f[f] -p "`pidof web_browser`" */ extern struct tcb *printing_tcp; path: strace_6.18+ds-2/doc/strace.1.in Consequently, syntaxes like .B \-p "$(pidof PROG)" and .B \-p "$(pgrep PROG)" are supported. path: strace_6.18+ds-2/src/strauss.c "or", " strace -p \"`pgrep PROG`\"", "", "pidof uses space as a delimiter, pgrep uses", "newline." }, { "-n option, that prints syscall numbers,", path: strace_6.18+ds-2/src/strauss.c "or comma as accepted delimiter, in order", "to support usage like", "", " strace -p \"`pidof PROG`\"", "or", " strace -p \"`pgrep PROG`\"", "", path: strace_6.18+ds-2/src/strace.c /* * We accept -p PID,PID; -p "`pidof PROG`"; -p "`pgrep PROG`". * pidof uses space as delim, pgrep uses newline. :( */ int pid; path: strace_6.18+ds-2/src/strace.c while (*opt) { /* * We accept -p PID,PID; -p "`pidof PROG`"; -p "`pgrep PROG`". * pidof uses space as delim, pgrep uses newline. :( */