summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-20 14:02:51 +1000
committerNathan Scott <nathans@redhat.com>2020-08-20 14:02:51 +1000
commit42c8e47cd6a8b87d4a30109d31b9c1427edfe9cd (patch)
tree5fb87163a0e9cc193f4d0c8374128ae79fc59c98
parent0f76359e4e494603960f8959d4e1902dbb18b3d4 (diff)
parentc3fadf6b695645175c557c3fc45c4c67137f4952 (diff)
Merge branch 'hishamhm-pull-906'
-rw-r--r--TraceScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 91f71ae8..b4b8436b 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -101,7 +101,7 @@ bool TraceScreen_forkTracer(TraceScreen* this) {
int ok = fcntl(this->fdpair[1], F_SETFL, O_NONBLOCK);
if (ok != -1) {
xSnprintf(buffer, sizeof(buffer), "%d", this->super.process->pid);
- execlp("strace", "strace", "-s", "512", "-p", buffer, NULL);
+ execlp("strace", "strace", "-T", "-tt", "-s", "512", "-p", buffer, NULL);
}
const char* message = "Could not execute 'strace'. Please make sure it is available in your $PATH.";
ssize_t written = write(this->fdpair[1], message, strlen(message));