Is there a way to create minidumps for process crash [like in windows] in linux. The usual core dumps are large in size but I wish to get only the stack trace dumped. Is it possible to dump only the stack trace?
I'm guessing setting the ulimit value to the maximum size wouldn't help me since I don't care about the size, I just don't need a full memory dump.
Also, I read about Google Breakpad but Breakpad would make me have to delve into the code to set it up. I don't wish to modify the code.
You can set /proc/$PID/coredump_filter
to 0x10
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments