From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 46D8AA0524;
	Tue, 20 Apr 2021 02:08:21 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id BD1A141448;
	Tue, 20 Apr 2021 02:08:20 +0200 (CEST)
Received: from foss.arm.com (foss.arm.com [217.140.110.172])
 by mails.dpdk.org (Postfix) with ESMTP id 5010E40685
 for <dev@dpdk.org>; Tue, 20 Apr 2021 02:08:19 +0200 (CEST)
Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14])
 by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A842113A1;
 Mon, 19 Apr 2021 17:08:18 -0700 (PDT)
Received: from 2p2660v4-1.austin.arm.com (2p2660v4-1.austin.arm.com
 [10.118.13.237])
 by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A08293F85F;
 Mon, 19 Apr 2021 17:08:18 -0700 (PDT)
From: Dharmik Thakkar <dharmik.thakkar@arm.com>
To: 
Cc: dev@dpdk.org, nd@arm.com, joyce.kong@arm.com,
 Dharmik Thakkar <dharmik.thakkar@arm.com>
Date: Mon, 19 Apr 2021 19:07:58 -0500
Message-Id: <20210420000800.1504-1-dharmik.thakkar@arm.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20210318112022.10510-1-joyce.kong@arm.com>
References: <20210318112022.10510-1-joyce.kong@arm.com>
Subject: [dpdk-dev] [PATCH v3 0/2] lib/mempool: add debug stats
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

- Add debug counters for objects put/get to/from the cache and
the common pool.
- Make __MEMPOOL_STAT_ADD() more generic

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

-- 
2.17.1