Skip to content

add a macro to enable support of backtrace

Wei Dai dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 4 repliesSuperseded

changes from the cover letter

v2 -- change configuration parameter name

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3examples/performance-thread: remove reference to execinfo.hexamples/performance-thread/common/lthread_tls.c+0 -11 reply
2/3config: add a marco to enable backtrace or notconfig/common_linuxapp+1 -00 replies
3/3eal: remove references to execinfo.h for musllib/librte_eal/linuxapp/eal/eal_debug.c+4 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJan Blunck
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] add a macro to enable support of backtrace

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(-)
Signature · 1 line
2.7.4