vppinfra: display only the 1st 50 memory traces by default 96/38196/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 8 Feb 2023 17:54:30 +0000 (18:54 +0100)
committerDamjan Marion <dmarion@0xa5.net>
Mon, 6 Mar 2023 14:11:07 +0000 (14:11 +0000)
commitaf62f93478e760b675bba7aba06b30efd63d12b4
tree6283b5349e76795a7bba1f573d44775238878fba
parent73507dd1aa1f8ae7573fc73025ed1b9fc0db3532
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>
src/vlib/cli.c
src/vppinfra/mem_dlmalloc.c