Re: [vpp-dev] Integration with libbacktrace

2018-06-15 Thread Kingwel Xie
@me.com>> Cc: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: Re: [vpp-dev] Integration with libbacktrace Hi, Finally I removed libbacktrace dependency, but to use glibc 'backtrace' which can be found in execinfo.h. The generated crashdump will look like below. I

Re: [vpp-dev] Integration with libbacktrace

2018-06-14 Thread Damjan Marion
t; > Cc: vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io> > Subject: Re: [vpp-dev] Integration with libbacktrace > > Hi, > > Finally I removed libbacktrace dependency, but to use glibc 'backtrace' which > can be found in execinfo.h. > > The gene

Re: [vpp-dev] Integration with libbacktrace

2018-06-14 Thread Dave Barach via Lists.Fd.Io
f Kingwel Xie Sent: Monday, June 11, 2018 7:48 PM To: Damjan Marion Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Integration with libbacktrace No idea. Hope someone can point it out. The libbacktrace can locate the line number of the code, otherwise we'd like to use glibc backtrace w

Re: [vpp-dev] Integration with libbacktrace

2018-06-13 Thread Kingwel Xie
nday, June 11, 2018 7:48 PM To: Damjan Marion Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Integration with libbacktrace No idea. Hope someone can point it out. The libbacktrace can locate the line number of the code, otherwise we'd like to use glibc backtrace which can generate like: mhea

Re: [vpp-dev] Integration with libbacktrace

2018-06-11 Thread Kingwel Xie
o: Kingwel Xie Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] Integration with libbacktrace What is the difference between libunwind and libbacktrace? I can see that libunwind is available as package on ubuntu, and libbacktrace is not... > On 11 Jun 2018, at 11:41, Kingwel Xie wrote

Re: [vpp-dev] Integration with libbacktrace

2018-06-11 Thread Damjan Marion
What is the difference between libunwind and libbacktrace? I can see that libunwind is available as package on ubuntu, and libbacktrace is not... > On 11 Jun 2018, at 11:41, Kingwel Xie wrote: > > Hi all, > > I’m wondering if it can be accepted by the community. > > Every time when vPP cras

Re: [vpp-dev] Integration with libbacktrace

2018-06-11 Thread Dave Barach via Lists.Fd.Io
Libbacktrace uses a non-Apache-2 license which may be an issue. I'll check with the TSC about it. Thanks... Dave From: vpp-dev@lists.fd.io On Behalf Of Kingwel Xie Sent: Monday, June 11, 2018 5:41 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] Integration with libbacktrace Hi all,

[vpp-dev] Integration with libbacktrace

2018-06-11 Thread Kingwel Xie
Hi all, I'm wondering if it can be accepted by the community. Every time when vPP crashes for some reason, core dump file can be used for further analysis. However, core file is usually big and even unfortunately isn't generated. A trick we used before is to generate a crash dump file to indic