From patchwork Thu Dec 13 05:08:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 48730 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 3E8921B47A; Thu, 13 Dec 2018 06:08:59 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id AD3452BF5 for ; Thu, 13 Dec 2018 06:08:57 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2018 21:08:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,347,1539673200"; d="scan'208";a="129528820" Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by fmsmga001.fm.intel.com with ESMTP; 12 Dec 2018 21:08:54 -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: Thu, 13 Dec 2018 10:38:33 +0530 Message-Id: <20181213050842.64587-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181203055000.39012-2-vipin.varghese@intel.com> References: <20181203055000.39012-2-vipin.varghese@intel.com> Subject: [dpdk-dev] [PATCH v7 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(-) Reviewed-by: Reshma Pattan Acked-by: Reshma Pattan