neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/37186?usp=email )
Change subject: dbg log: nft kpi: clarify nr of rate ctrs vs nr of hnbp ......................................................................
dbg log: nft kpi: clarify nr of rate ctrs vs nr of hnbp
Change-Id: I84346d3151f3040967f39a3a6e6db2e29bc1e2ec --- M src/osmo-hnbgw/nft_kpi.c 1 file changed, 12 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/86/37186/1
diff --git a/src/osmo-hnbgw/nft_kpi.c b/src/osmo-hnbgw/nft_kpi.c index 9eff35e..5f2359b 100644 --- a/src/osmo-hnbgw/nft_kpi.c +++ b/src/osmo-hnbgw/nft_kpi.c @@ -951,7 +951,7 @@ struct hnb_persistent *hnbp = NULL; int count = 0;
- LOGP(DNFT, LOGL_DEBUG, "main thread: updating %zu hnbp with rate counters from nft response\n", + LOGP(DNFT, LOGL_DEBUG, "main thread: updating %zu rate counters from nft response (2 counters per hnbp)\n", req->get_counters.counters_len);
for (; c < end; c++) { @@ -965,8 +965,8 @@ count++; }
- LOGP(DNFT, LOGL_DEBUG, "main thread: rate counters for %d of %zu hnbp have incremented\n", count, - req->get_counters.counters_len); + LOGP(DNFT, LOGL_DEBUG, "main thread: %d of %zu rate counters have incremented (2 counters per hnbp)\n", + count, req->get_counters.counters_len); }
/* main thread: handle responses from a worker thread */