I have a binary file that will create multiple threads. Now that one of these threads crashes, I want the name of the main file generated to contain the original process name instead of the stream name.
When I use the% e specifier, it gives the stream name only (I think this is because on Linux all threads are treated as LWP).
How to get the source process that created the thread in the name of the main file?
I looked at the man file , but it does not have another qualifier that I can use.
source
share