[strace/strace] tracing all children of an already started program. (#193)

Masatake YAMATO notifications at github.com
Wed Nov 24 08:34:51 UTC 2021


> Yep.. I was just saying it would be a nice feature to have in the same program without using external ones.

I agree with you if more than one program, pstree, pidof, grep and/or sed are needed.
However, I think just one, pgrep (or pidof)  is acceptable. 
If strace introduces an option implementing the feature requested here, the user must remember the option to enable the feature.
`[tab]` key with a modern shell may help us but remembering the command fragment, `-p "$(...)"` is not hard for me.

I was directly taught this fragment by @ldv-alt, the maintainer of strace!
https://lists.strace.io/pipermail/strace-devel/2018-March/007950.html
https://lists.strace.io/pipermail/strace-devel/2018-March/007951.html

The lesson was not free. I had to submit a patch to procps-ng as fee.
https://gitlab.com/procps-ng/procps/-/merge_requests/58

-- 
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/193#issuecomment-977648655
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20211124/d94878ee/attachment.htm>


More information about the Strace-devel mailing list