summaryrefslogtreecommitdiff
path: root/src/shared/secondary/spp_worker_th/latency_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/secondary/spp_worker_th/latency_stats.c')
-rw-r--r--src/shared/secondary/spp_worker_th/latency_stats.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/secondary/spp_worker_th/latency_stats.c b/src/shared/secondary/spp_worker_th/latency_stats.c
index 33b3b44..d43f6a8 100644
--- a/src/shared/secondary/spp_worker_th/latency_stats.c
+++ b/src/shared/secondary/spp_worker_th/latency_stats.c
@@ -48,6 +48,11 @@ cycles_per_ns(void)
return rte_get_timer_hz() / NS_PER_SEC;
}
+/**
+ * TODO(Hideyuki Yamashita) This function has a fatal bug in rte_zmalloc()
+ * for `g_stats_info` and should be fixed. rte_zmalloc() returns NULL for
+ * unknow reason.
+ */
int
sppwk_init_ring_latency_stats(uint64_t samp_intvl, uint16_t stats_count)
{