[strace/strace] Feature request: Display the full syscall line on resuming (#152)

Igor Zhbanov notifications at github.com
Mon Sep 7 15:40:31 UTC 2020


Currently when tracing multiple processes you could see something like:
```
[pid  1905] select(0, NULL, NULL, NULL, {0, 198904} <unfinished ...>
[pid 23966] ftruncate(28, 25165824)     = 0
[pid 32266] epoll_wait(20,  <unfinished ...>
[pid  1905] <... select resumed> )      = 0 (Timeout)
```
So on resuming you often need to scroll back to understand of what syscall was continued. especially when you see that resumed syscall failed with some error. So may be there could be an option, so the output could be something like this:
```
[pid  1905] select(0, NULL, NULL, NULL, {0, 198904} <unfinished ...>
[pid 23966] ftruncate(28, 25165824)     = 0
[pid 32266] epoll_wait(20,  <unfinished ...>
[pid  1905] <resumed> select(0, NULL, NULL, NULL, {0, 198904})      = 0 (Timeout)
```
It would make reading the logs easier.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/152
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200907/bea14a41/attachment.htm>


More information about the Strace-devel mailing list