[PATCH v2] app/testpmd: add dump command help message

Ferruh Yigit ferruh.yigit at amd.com
Wed Jun 28 15:18:58 CEST 2023


On 6/28/2023 10:54 AM, Viacheslav Ovsiienko wrote:
> There was missing "dump_xxxxx" commands help message.
> Patch updates "help display" section of the help message.
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
>

Reviewed-by: Ferruh Yigit <ferruh.yigit at amd.com>

Applied to dpdk-next-net/main, thanks.

<...>

> @@ -982,6 +1012,44 @@ static void cmd_help_long_parsed(void *parsed_result,
>  		);
>  	}
>  
> +	if (show_all || !strcmp(res->section, "dump")) {
> +		cmdline_printf(
> +			cl,
> +			"\n"
> +			"Dump Commands:\n"
> +			"--------------\n"
> +			"dump_physmem\n"
> +			"    Dumps all physical memory segment layouts\n\n"
> +
> +			"dump_socket_mem\n"
> +			"    Dumps the memory usage of all sockets\n\n"
> +
> +			"dump_memzone\n"
> +			"    Dumps the layout of all memory zones\n\n"
> +
> +			"dump_struct_sizes\n"
> +			"    Dumps the size of all memory structures\n\n"
> +
> +			"dump_ring\n"
> +			"    Dumps the status of all or specific element in DPDK rings\n\n"
> +
> +			"dump_mempool\n"
> +			"    Dumps the statistics of all or specific memory pool\n\n"
> +
> +			"dump_devargs\n"
> +			"    Dumps the user device list\n\n"
> +
> +			"dump_lcores\n"
> +			"    Dumps the logical cores list\n\n"
> +
> +			"dump_trace\n"
> +			"    Dumps the tracing data to the folder according to the current EAL settings\n\n"
> +
> +			"dump_log_types\n"
> +			"    Dumps the log level for all the dpdk modules\n\n"
> +		);
> +	}
> +

Above part is duplicate, and removed while merging.



More information about the dev mailing list