Selective core dump in Linux - How can I select the dumped sections?
问题 I am looking for a way to select the sections and memory regions included in a core dump. My application's core dump size is about 30GB, most of it is in preallocated buffers which I don't even need in debugging (and can be zeroed later). However, since the dump is so big, it takes too much time for the application to finish crashing and begin recovery. Can anyone think of a way to select in advance which segments will be in the core dump? Thanks 回答1: According to the core(5) manpage, you can