author | Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com> | |
Tue, 24 Jan 2017 14:23:10 +0000 (14:23 +0000) | ||
committer | Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com> | |
Tue, 24 Jan 2017 15:20:10 +0000 (15:20 +0000) | ||
commit | 126b35ee8786a3aca1bcc1346a60bc528d06c414 | |
tree | d6e01f697165ee868c13884aa09371fef3ccb735 | tree | snapshot |
parent | 36c657e9864856a10c1dba2519a22ab73d68ce76 | commit | diff |
dpdkstat: Fix metrics' types
This patch fixes parsing of metrics' types. Some statistics, such as
rx_q0errors, rx_q0bytes or rx_q0packet, don't contain suffix _errors, _bytes or
_packets. This has caused them to use generic type 'derive', rather than
more specific one, for instance 'if_rx_errors'. Additionally, some
statistics contain string 'error', rather than 'errors'.
Change-Id: Ifd4ed6c0d2c21723900f36fb1a376d4673e59850
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
This patch fixes parsing of metrics' types. Some statistics, such as
rx_q0errors, rx_q0bytes or rx_q0packet, don't contain suffix _errors, _bytes or
_packets. This has caused them to use generic type 'derive', rather than
more specific one, for instance 'if_rx_errors'. Additionally, some
statistics contain string 'error', rather than 'errors'.
Change-Id: Ifd4ed6c0d2c21723900f36fb1a376d4673e59850
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
src/dpdkstat.c | diff | blob | history |