diff options
author | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:02:51 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:02:51 +1000 |
commit | 42c8e47cd6a8b87d4a30109d31b9c1427edfe9cd (patch) | |
tree | 5fb87163a0e9cc193f4d0c8374128ae79fc59c98 | |
parent | 0f76359e4e494603960f8959d4e1902dbb18b3d4 (diff) | |
parent | c3fadf6b695645175c557c3fc45c4c67137f4952 (diff) |
Merge branch 'hishamhm-pull-906'
-rw-r--r-- | TraceScreen.c | 2 |
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)); |