mbox

[v4,0/2] lib/mempool: add debug stats

Message ID 20210423012938.24770-1-dharmik.thakkar@arm.com (mailing list archive)
Headers

Message

Dharmik Thakkar April 23, 2021, 1:29 a.m. UTC
  - Add debug counters for objects put/get to/from the common pool.
- Make __MEMPOOL_STAT_ADD() more generic

---
v4:
 - Remove cache stats

v3:
 - Add a patch to make stat add macro generic
 - Remove other stat add/subtract macros
 - Rename counters for better understanding
 - Add put/get cache bulk counters

v2:
 - Fix typo in the commit message
---

Dharmik Thakkar (1):
  lib/mempool: make stats macro generic

Joyce Kong (1):
  lib/mempool: distinguish debug counters from cache and pool

 lib/mempool/rte_mempool.c | 16 ++++++++++
 lib/mempool/rte_mempool.h | 67 +++++++++++++++++++++++----------------
 2 files changed, 56 insertions(+), 27 deletions(-)