Dumping only stack traces in Linux kernel dumps
Is there a way to create mini-packages for process crash [like Windows] on Linux. Regular kernel dumps are large in size, but I only want to get a lazy stack trace. Is it possible to dump only the stack trace?
My guess is that setting the ulimit value to the maximum size would not help me as I don't care about size, I just don't need a full memory dump.
Also, I read about Google Breakpad, but Breakpad made me dig deeper into the code to tweak it. I don't want to change the code.
+3
user2779853
source
to share
1 answer
You can install /proc/$PID/coredump_filter
on 0x10
.
See http://man7.org/linux/man-pages/man5/core.5.html
0
kursancew
source
to share