Check build options
and other CONFIG_RTE_*_DEBUG like flags
From: SPDK [mailto:firstname.lastname@example.org] On Behalf Of Naoki Iwakami
Sent: Friday, March 31, 2017 9:33 AM
Subject: [SPDK] Access error and leak with rte_malloc'ed memory
I am trying to find memory errors with memory blocks allocated by
rte_malloc in my SPDK application. Errors are such as buffer overrun,
memory leak, etc.
I found a Valgrind modified for DPDK. Thankfully, it works for SPDK, too.
But this tool seems not working for memory blocks allocated by rte_malloc.
As an alternative, does SPDK or DPDK have mechanism to support memory
error troubleshooting, such as putting magic words at memory
boundaries and giving current number of rte_malloc'ed bytes?
SPDK mailing list