From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6F93EA0350; Tue, 23 Jun 2020 22:58:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4CEC61D6E4; Tue, 23 Jun 2020 22:58:03 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A7EAE1D6D1 for ; Tue, 23 Jun 2020 22:57:58 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from talshn@mellanox.com) with SMTP; 23 Jun 2020 23:57:54 +0300 Received: from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 05NKvs7a009012; Tue, 23 Jun 2020 23:57:54 +0300 From: talshn@mellanox.com To: dev@dpdk.org Cc: thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com, david.marchand@redhat.com, ranjit.menon@intel.com, navasile@linux.microsoft.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, bruce.richardson@intel.com, Tal Shnaiderman Date: Tue, 23 Jun 2020 23:57:19 +0300 Message-Id: <20200623205721.21200-1-talshn@mellanox.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20200608083227.16020-2-talshn@mellanox.com> References: <20200608083227.16020-2-talshn@mellanox.com> Subject: [dpdk-dev] [PATCH v3 0/2] Support EAL debug functions on Windows 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" From: Tal Shnaiderman This patchset adds support for the EAL debug function on Windows by implementing backtracing in rte_dump_stack and cleanup calls in rte_eal_cleanup. Additionally, the functions rte_exit, __rte_panic and rte_dump_registers were moved to a common file to avoid code duplication. --- v3: Fix license comment[ThomasM] v2: Fix style and cross-compiling MinGW-w64 on Linux error[DmitryK] --- Tal Shnaiderman (2): eal: move OS common debug functions to single file eal/windows: support debug calls config/meson.build | 1 + lib/librte_eal/common/eal_common_debug.c | 59 +++++++++++++++++++++++++ lib/librte_eal/common/meson.build | 2 + lib/librte_eal/freebsd/Makefile | 1 + lib/librte_eal/freebsd/eal_debug.c | 49 -------------------- lib/librte_eal/linux/Makefile | 1 + lib/librte_eal/linux/eal_debug.c | 49 -------------------- lib/librte_eal/windows/eal.c | 9 +++- lib/librte_eal/windows/eal_debug.c | 76 ++++++++++++++++++++++++++++---- 9 files changed, 140 insertions(+), 107 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_debug.c -- 2.16.1.windows.4