Re: [ovs-dev] [PATCH] backtrace: add LOG_BACKTRACE()

2014-03-14 Thread Andy Zhou
Thanks for the input. I will send out a V2 implementing the suggested changes. On Fri, Mar 14, 2014 at 1:33 PM, Ben Pfaff wrote: > On Thu, Mar 13, 2014 at 06:17:14PM -0700, Andy Zhou wrote: > > LOG_BACKTRACE() logs the back trace into the log file. I find it > > to be helpful when debugging uni

Re: [ovs-dev] [PATCH] backtrace: add LOG_BACKTRACE()

2014-03-14 Thread Ben Pfaff
On Thu, Mar 13, 2014 at 06:17:14PM -0700, Andy Zhou wrote: > LOG_BACKTRACE() logs the back trace into the log file. I find it > to be helpful when debugging unit tests. "backtrace.h" documents > the usage. It is not being called directly in the code, but rather as > a handy tool available when need

[ovs-dev] [PATCH] backtrace: add LOG_BACKTRACE()

2014-03-13 Thread Andy Zhou
LOG_BACKTRACE() logs the back trace into the log file. I find it to be helpful when debugging unit tests. "backtrace.h" documents the usage. It is not being called directly in the code, but rather as a handy tool available when needed. Signed-off-by: Andy Zhou --- lib/backtrace.c | 30