[PATCH 1/2] app/proc-info: add memory heap dump
Thomas Monjalon
thomas at monjalon.net
Mon Jul 29 19:18:08 CEST 2024
02/07/2024 15:14, Gagandeep Singh:
> --- a/app/proc-info/main.c
> +++ b/app/proc-info/main.c
> @@ -637,6 +638,10 @@ meminfo_display(void)
> rte_memzone_dump(stdout);
> printf("---------- END_MEMORY_ZONES -----------\n");
>
> + printf("------------ HEAP DUMP -------------\n");
Should we add "MALLOC"?
With underscores for consistency?
> + rte_malloc_dump_heaps(stdout);
> + printf("---------- END_HEAP_DUMP -----------\n");
> +
> printf("------------- TAIL_QUEUES -------------\n");
> rte_dump_tailq(stdout);
> printf("---------- END_TAIL_QUEUES ------------\n");
>
More information about the dev
mailing list