[dpdk-dev] [PATCH v1 1/2] malloc: support malloc and free tracking log

Stephen Hemminger stephen at networkplumber.org
Wed Apr 8 07:10:46 CEST 2020


On Wed,  8 Apr 2020 04:04:53 +0000
Xueming Li <xuemingl at mellanox.com> wrote:

> 	int n_alloc_free = 0;
> +	int n_alloc = 0;
> +	int n_free_alloc = 0;
> +	int n_free = 0;
> +	size_t alloc_leak = 0;

All statistics should be unsigned, size_t or uint64_t to avoid any wraparound issues.


More information about the dev mailing list