From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Dai Subject: [PATCH v2 0/3] add a macro to enable support of backtrace Date: Mon, 13 Mar 2017 16:59:25 +0800 Message-ID: <1489395568-4664-1-git-send-email-wei.dai@intel.com> Cc: thomas.monjalon@6wind.com, john.mcnamara@intel.com, david.marchand@6wind.com, raymond.tan@intel.com, Wei Dai To: dev@dpdk.org Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 1198838EB for ; Mon, 13 Mar 2017 10:06:11 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some LIBC implementation like musl doesn't support backtrace( ) and backtrace_symbols declared in execinfo.h. Currently some DPDK customers fail to build PDDK with musl. In order to build DPDK with musl, there is a need to reomve references toexecinfo.h. Add a configuration parameter in config/common_linuxapp which equals to y by default. It also generate a macro named as RTE_EAL_ENABLE_BACKTRACE when this configuration paramter equals to y or no above macro when it is n. --- changes: v2 -- change configuration parameter name Wei Dai (3): examples/performance-thread: remove reference to execinfo.h config: add a marco to enable backtrace or not eal: remove references to execinfo.h for musl config/common_linuxapp | 1 + examples/performance-thread/common/lthread_tls.c | 1 - lib/librte_eal/linuxapp/eal/eal_debug.c | 4 ++++ 3 files changed, 5 insertions(+), 1 deletion(-) -- 2.7.4