mbox series

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

Message ID 20210420000800.1504-1-dharmik.thakkar@arm.com (mailing list archive)
Headers show
Series lib/mempool: add debug stats | expand


Dharmik Thakkar April 20, 2021, 12:07 a.m. UTC
- Add debug counters for objects put/get to/from the cache and
the common pool.
- Make __MEMPOOL_STAT_ADD() more generic

 - 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

 - 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/librte_mempool/rte_mempool.c | 24 +++++++++++
 lib/librte_mempool/rte_mempool.h | 71 ++++++++++++++++++++------------
 2 files changed, 68 insertions(+), 27 deletions(-)