aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorChristian Hopps <chopps@gmail.com>2020-08-22 14:44:33 +0000
committerDamjan Marion <dmarion@me.com>2020-09-08 16:58:29 +0000
commitcd64f7395128084c4b92268f0a1dc1ec0bc08f86 (patch)
treedac279580339a93e52387ee15c3bfff27bfea310 /src/plugins
parent527746ff062d2daf687bdff08d200282c69e5e19 (diff)
dpdk: fix extended stat strings
- These were displaying blank, apparently dpdk extended stat strings must be within the heap so they are identified as vectors by format_c_identifier even though they are not. Type: fix Change-Id: I2b153b100203b9856ce3af6d5ecb2daae410fb5b Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/dpdk/device/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/format.c b/src/plugins/dpdk/device/format.c
index 19476cb19dd..d43ab6b348f 100644
--- a/src/plugins/dpdk/device/format.c
+++ b/src/plugins/dpdk/device/format.c
@@ -710,9 +710,9 @@ format_dpdk_device (u8 * s, va_list * args)
xstat = vec_elt_at_index(xd->xstats, i);
if (verbose == 2 || (verbose && xstat->value))
{
- xs = format(xs, "\n%U%-38U%16Lu",
+ xs = format(xs, "\n%U%-38s%16Lu",
format_white_space, indent + 4,
- format_c_identifier, xstat_names[i].name,
+ xstat_names[i].name,
xstat->value);
}
}