From patchwork Mon Dec 3 05:49:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 48460 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C0621B1EF; Mon, 3 Dec 2018 06:53:30 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 0D8C35F27 for ; Mon, 3 Dec 2018 06:53:28 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2018 21:53:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,309,1539673200"; d="scan'208";a="280400243" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by orsmga005.jf.intel.com with ESMTP; 02 Dec 2018 21:53:25 -0800 From: Vipin Varghese To: konstantin.ananyev@intel.com, stephen@networkplumber.org, reshma.pattan@intel.com, dev@dpdk.org, john.mcnamara@intel.com Cc: thomas@monjalon.net, stephen1.byrne@intel.com, amol.patel@intel.com, Vipin Varghese Date: Mon, 3 Dec 2018 11:19:51 +0530 Message-Id: <20181203055000.39012-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181122141543.37067-1-vipin.varghese@intel.com> References: <20181122141543.37067-1-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v6 0/9] app/proc-info: improve debug of proc-info tool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" This patch adds new debug functions to existing proc-info tool. Motivation ========== DPDK proc-info tool is been widely used as secondary process to collect stats for any primary process. But these are limited to DPDK NIC ports and basic memory usage. Motivation ========== This patch tries to address the short coming by adding debug for port, traffic manager, crypto, ring and mempool. With these additional information in tool will be able to deliver helpful data to debug issues and performance variance. Status ====== With the following patch set debug data has been collected from customers using DPDK instances. Analysing the information helped to suggest the next debug steps and solutions for fixing the issues. Next Steps ========== - add event dev debug information. - enhance iter_mempool for INLINE crypto entries. - add debug for libraries like hash and acl. - explore debug possibility for ring and list. - add links and reference to 'how to guide' for 'debug and troubleshoot'. Patch set Information ===================== Patch includes set of 9 patches: * 0 : to introduce the debug function enhancement for proc-info * 1 : MACRO and help usage for new functions * 2 : string compare for new functions * 3 : invocation for the new prototypes * 4 : show port * 5 : show tm * 6 : show crypto * 7 : ring element debug * 8 : mempool element debug * 9 : iterate mempoool elements Vipin Varghese (9): app/procinfo: add usage for new debug app/procinfo: add compare for new options app/procinfo: add prototype for debug instances app/procinfo: add support for show port app/procinfo: add support for show tm app/procinfo: add support for show crypto app/procinfo: add support for debug ring app/procinfo: add support for show iter mempool doc/procinfo: add information for debug options app/proc-info/main.c | 681 ++++++++++++++++++++++++++++++++- app/proc-info/meson.build | 2 +- doc/guides/tools/proc_info.rst | 35 +- 3 files changed, 712 insertions(+), 6 deletions(-)