On 03-Apr-20 8:54 AM, Xueming Li wrote:
This patch introduces new feature to track rte_malloc leakage by logging
malloc and free function.
Hi,
Thanks for the patch.
A general comment - i would avoid mixing testpmd code with adding a new
API to malloc. I understand this is an RFC so it's OK f
DPDK uses second level memory allocation management, this makes
regular memory profiler tool not applicant. This patch trys to
provide a lightweight malloc and free logging, then show leaked
memory entries based on logs.
This tool only target to malloc and free tracking, for memzone
used by ring a
DPDK uses second level memory allocation management, this makes
regular memory profiler tool not applicant. This patch trys to
provide a lightweight malloc and free logging, then show leaked
memory entries based on logs.
This tool only target to malloc and free tracking, for memzone
used by ring a
This patch introduces new feature to track rte_malloc leakage by logging
malloc and free function.
Signed-off-by: Xueming Li
---
app/test-pmd/cmdline.c | 61 ++-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 15 +++
lib/librte_eal/common/eal_memcfg.h | 18
4 matches
Mail list logo