mbox series

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

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

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(-)
  

Comments

Olivier Matz April 27, 2021, 12:28 p.m. UTC | #1
On Thu, Apr 22, 2021 at 08:29:36PM -0500, Dharmik Thakkar wrote:
> Subject: [dpdk-dev] [PATCH v4 0/2] lib/mempool: add debug stats

I missed that one: please use "mempool:" instead of "lib/mempool:"
prefix in the titles.

Thanks,
Olivier


>
> - 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(-)
> 
> -- 
> 2.17.1
>