It's useful to get an indication of unresolved stuff or memory
corruption to have the apparent depth of the stack trace in the
output, especially if we dump nothing.
(cherry picked from commit
cdd8074433d8ada867ba9b2bc11db098fd363035)
Signed-off-by: Willy Tarreau <w@1wt.eu>
would produce similar output to the following: */
if (nptrs)
- chunk_appendf(buf, " call trace:\n");
+ chunk_appendf(buf, " call trace(%d):\n", nptrs);
#ifndef USE_DL
/* if we can't rely on dladdr1() we won't figure what level is