From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CA374A0A02; Fri, 23 Apr 2021 03:29:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 960AA41C9D; Fri, 23 Apr 2021 03:29:58 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 4605541C9D for ; Fri, 23 Apr 2021 03:29:57 +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 7141711D4; Thu, 22 Apr 2021 18:29:56 -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 698523F774; Thu, 22 Apr 2021 18:29:56 -0700 (PDT) From: Dharmik Thakkar To: Cc: dev@dpdk.org, nd@arm.com, joyce.kong@arm.com, Dharmik Thakkar Date: Thu, 22 Apr 2021 20:29:36 -0500 Message-Id: <20210423012938.24770-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210420000800.1504-1-dharmik.thakkar@arm.com> References: <20210420000800.1504-1-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [PATCH v4 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" - 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