utils: Add print_stack_trace()
Function to print call trace of a process. Borrowed from this fm: https://www.gnu.org/software/libc/manual/html_node/Backtraces.html backtrace() and backtrace_symbols() are not implemented in alpine, so we use __GLIBC__ ifdef to do not compile this function there. v4: New Signed-off-by:Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by:
Andrei Vagin <avagin@virtuozzo.com>
Showing
Please
register
or
sign in
to comment