Including contigmem in core dumps
Lewis Donzis
lew at perftech.com
Tue May 28 02:34:44 CEST 2024
I've been wondering why we exclude memory allocated by eal_get_virtual_area() from core dumps? (More specifically, it calls eal_mem_set_dump() to call madvise() to disable core dumps from the allocated region.)
On many occasions, when debugging after a crash, it would have been very convenient to be able to see the contents of an mbuf or other object allocated in contigmem space. And we often avoid using the rte memory allocator just because of this.
Is there any reason for this, or could it perhaps be a compile-time configuration option not to call madvise()?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240527/cae07361/attachment.htm>
More information about the dev
mailing list