From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <wei.dai@intel.com>
Received: from mga11.intel.com (mga11.intel.com [192.55.52.93])
 by dpdk.org (Postfix) with ESMTP id 1198838EB
 for <dev@dpdk.org>; Mon, 13 Mar 2017 10:06:11 +0100 (CET)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 13 Mar 2017 02:06:10 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.36,158,1486454400"; d="scan'208";a="833928684"
Received: from dpdk6.bj.intel.com ([172.16.182.81])
 by FMSMGA003.fm.intel.com with ESMTP; 13 Mar 2017 02:06:09 -0700
From: Wei Dai <wei.dai@intel.com>
To: dev@dpdk.org
Cc: thomas.monjalon@6wind.com, john.mcnamara@intel.com,
 david.marchand@6wind.com, raymond.tan@intel.com,
 Wei Dai <wei.dai@intel.com>
Date: Mon, 13 Mar 2017 16:59:25 +0800
Message-Id: <1489395568-4664-1-git-send-email-wei.dai@intel.com>
X-Mailer: git-send-email 2.7.4
Subject: [dpdk-dev] [PATCH v2 0/3] add a macro to enable support of backtrace
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Mar 2017 09:06:12 -0000

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