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

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


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

>  * Dump contents of all malloc heaps to a file.
> diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map
> index f9ede5b..25c4b13 100644
> --- a/lib/librte_eal/rte_eal_version.map
> +++ b/lib/librte_eal/rte_eal_version.map
> @@ -338,4 +338,7 @@ EXPERIMENTAL {
>  
>  	# added in 20.05
>  	rte_log_can_log;
> +    rte_malloc_log_init;
> +    rte_malloc_log_dump;
> +    rte_malloc_log_stop;
>  };

Looks like other entries were indented with tabs and you used spaces?


More information about the dev mailing list