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.
See http://man7.org/linux/man-pages/man5/core.5.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With