From: Olivier Matz Date: Tue, 4 Apr 2017 16:40:39 +0000 (+0200) Subject: app/testpmd: new command to dump log types X-Git-Tag: spdx-start~3780 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=caf05a1b860899c888e6470ca4a259aac6934f51;p=dpdk.git app/testpmd: new command to dump log types Signed-off-by: Olivier Matz --- diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index e650d187f5..57e48d03f6 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -7702,6 +7702,8 @@ static void cmd_dump_parsed(void *parsed_result, rte_mempool_list_dump(stdout); else if (!strcmp(res->dump, "dump_devargs")) rte_eal_devargs_dump(stdout); + else if (!strcmp(res->dump, "dump_log_types")) + rte_log_dump(stdout); } cmdline_parse_token_string_t cmd_dump_dump = @@ -7711,7 +7713,8 @@ cmdline_parse_token_string_t cmd_dump_dump = "dump_struct_sizes#" "dump_ring#" "dump_mempool#" - "dump_devargs"); + "dump_devargs#" + "dump_log_types"); cmdline_parse_inst_t cmd_dump = { .f = cmd_dump_parsed, /* function to call */