[strace/strace] Feature request: name log files based on the executable name (#153)
notifications at github.com
Mon Sep 7 15:48:30 UTC 2020
When you are tracing multiple different processes (with `-f -ff` options) when trying to understand what a system does, it is difficult later to understand what log file belongs to what process. There could be an option for automatic renaming the logs based on `argv` supplied to `execve` syscall. I.e. with the proposed options you would get logs named like:
To make it possible, strace needs to:
1) read executable name at the time of attaching to some PID,
2) on the forking and cloning inherit that name,
3) but rename a file on `execve`.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Strace-devel