summaryrefslogtreecommitdiffstats
path: root/src/vlib/cli.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2023-02-08 18:54:30 +0100
committerDamjan Marion <dmarion@0xa5.net>2023-03-06 14:11:07 +0000
commitaf62f93478e760b675bba7aba06b30efd63d12b4 (patch)
tree6283b5349e76795a7bba1f573d44775238878fba /src/vlib/cli.c
parent73507dd1aa1f8ae7573fc73025ed1b9fc0db3532 (diff)
vppinfra: display only the 1st 50 memory traces by default
When using memory traces it can take a long time to display all traces bigger than 1k if there are lots of them, especially as we need to resolve symbols. It is better to display only the 1st 50 by default, unless verbose is used. Also fix the help string. Type: improvement Change-Id: I1e5e30209f10d2b05c561dbf856cb126e0cf513d Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vlib/cli.c')
-rw-r--r--src/vlib/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/cli.c b/src/vlib/cli.c
index 9c53200f8cf..5dd25980c8c 100644
--- a/src/vlib/cli.c
+++ b/src/vlib/cli.c
@@ -981,7 +981,7 @@ show_memory_usage (vlib_main_t * vm,
VLIB_CLI_COMMAND (show_memory_usage_command, static) = {
.path = "show memory",
.short_help = "show memory [api-segment][stats-segment][verbose]\n"
- " [numa-heaps][map]",
+ " [numa-heaps][map][main-heap]",
.function = show_memory_usage,
};
/* *INDENT-ON* */