app/proc-info: support xstats by ID and by name
authorKuba Kozak <kubax.kozak@intel.com>
Thu, 27 Apr 2017 14:42:38 +0000 (16:42 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 21:48:39 +0000 (23:48 +0200)
commit7ac16a3660c0d38a82fb52db086c40d8c1b5ed99
treeb93d3ed605a072325a82e9a8c6dc0bf070aaf2de
parentf328ae2560505fda651d63a5fa1e0abbd38ab3af
app/proc-info: support xstats by ID and by name

There are new arguments --xstats-ids and --xstats-name
in proc_info command line to retrieve statistics given by ids
and by name.
E.g. --xstats-ids="1,3,5,7,8"
E.g. --xstats-name rx_errors

Signed-off-by: Kuba Kozak <kubax.kozak@intel.com>
app/proc_info/main.c