mbox series

[v5,0/2] mempool: add debug stats

Message ID 20210427160141.9945-1-dharmik.thakkar@arm.com (mailing list archive)
Headers
Series mempool: add debug stats |

Message

Dharmik Thakkar April 27, 2021, 4:01 p.m. UTC
  - Add debug counters for objects put/get to/from the common pool.
- Make __MEMPOOL_STAT_ADD() more generic

---
v5:
 - Fix compilation issue
 - Move 'increment get_success_bulk/objs' inside __mempool_generic_get

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):
  mempool: make stats macro generic

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

 lib/mempool/rte_mempool.c | 16 ++++++++++
 lib/mempool/rte_mempool.h | 63 +++++++++++++++++++++++----------------
 2 files changed, 54 insertions(+), 25 deletions(-)
  

Comments

David Marchand May 4, 2021, 7:02 a.m. UTC | #1
On Tue, Apr 27, 2021 at 6:02 PM Dharmik Thakkar <dharmik.thakkar@arm.com> wrote:
>
> - Add debug counters for objects put/get to/from the common pool.
> - Make __MEMPOOL_STAT_ADD() more generic
>

Series applied, thanks.