app/procinfo: add --iter-mempool
authorVipin Varghese <vipin.varghese@intel.com>
Thu, 10 Jan 2019 21:36:45 +0000 (03:06 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 11 Jan 2019 14:45:30 +0000 (15:45 +0100)
commit3056d22a5c9b8214b0d89ab5faf42f436e56c12f
treeb436b33c973cc2ab69197be9598ea8ac2553f82d
parent0101a0ec621757850210fa084c2d4158404125e3
app/procinfo: add --iter-mempool

Function iter_mempool is used for iterating slected mempool elements
and display the contents of elements for a max of 256 bytes. In case
of invalid or no name for mempool, no information is displayed.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
app/proc-info/main.c
doc/guides/tools/proc_info.rst