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 963EAA0A02; Tue, 27 Apr 2021 18:02:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 064DC410F5; Tue, 27 Apr 2021 18:02:03 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mails.dpdk.org (Postfix) with ESMTP id 1329B410D8 for ; Tue, 27 Apr 2021 18:02:01 +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 2CFB9D6E; Tue, 27 Apr 2021 09:02:00 -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 1EF6F3F73B; Tue, 27 Apr 2021 09:02:00 -0700 (PDT) From: Dharmik Thakkar To: Cc: dev@dpdk.org, nd@arm.com, joyce.kong@arm.com, honnappa.nagarahalli@arm.com, Dharmik Thakkar Date: Tue, 27 Apr 2021 11:01:38 -0500 Message-Id: <20210427160141.9945-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210423012938.24770-1-dharmik.thakkar@arm.com> References: <20210423012938.24770-1-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [PATCH v5 0/2] 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 --- 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(-) -- 2.17.1