From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH v3 0/2] add a macro to disable support of backtrace Date: Fri, 5 May 2017 15:18:25 +0200 Message-ID: <20170505131827.25599-1-thomas@monjalon.net> References: <1489395568-4664-1-git-send-email-wei.dai@intel.com> Cc: dev@dpdk.org To: Wei Dai Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 3122F2935 for ; Fri, 5 May 2017 15:18:32 +0200 (CEST) In-Reply-To: <1489395568-4664-1-git-send-email-wei.dai@intel.com> 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 DPDK with musl. In order to build DPDK with musl, there is a need to remove references to execinfo.h. Add a configuration parameter which defaults to y. v3: - rename option - apply to BSD - squash patches Wei Dai (2): examples/performance-thread: remove useless include config: make backtrace optional config/common_base | 1 + examples/performance-thread/common/lthread_tls.c | 1 - lib/librte_eal/bsdapp/eal/eal_debug.c | 4 ++++ lib/librte_eal/linuxapp/eal/eal_debug.c | 4 ++++ 4 files changed, 9 insertions(+), 1 deletion(-) -- 2.12.2