mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 14:49:53 +01:00
WIP: Run strace on child processes too.
This commit is contained in:
@@ -209,8 +209,8 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
|
|||||||
// FIXME
|
// FIXME
|
||||||
long torPid = getPid(torProcess);
|
long torPid = getPid(torProcess);
|
||||||
LOG.info("Tor PID: " + torPid);
|
LOG.info("Tor PID: " + torPid);
|
||||||
pb = new ProcessBuilder("/usr/bin/strace", "-o", "strace.out", "-p",
|
pb = new ProcessBuilder("/usr/bin/strace", "-ff", "-o", "strace.out",
|
||||||
String.valueOf(torPid));
|
"-p", String.valueOf(torPid));
|
||||||
try {
|
try {
|
||||||
pb.start();
|
pb.start();
|
||||||
LOG.info("Started strace");
|
LOG.info("Started strace");
|
||||||
|
|||||||
Reference in New Issue
Block a user