Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: explicitly export symbols
[vpp.git]
/
src
/
vppinfra
/
backtrace.c
diff --git
a/src/vppinfra/backtrace.c
b/src/vppinfra/backtrace.c
index
ca7591c
..
e713bae
100644
(file)
--- a/
src/vppinfra/backtrace.c
+++ b/
src/vppinfra/backtrace.c
@@
-45,7
+45,7
@@
#include <vppinfra/asm_mips.h>
#include <vppinfra/asm_mips.h>
-uword
+
__clib_export
uword
clib_backtrace (uword * callers, uword max_callers, uword n_frames_to_skip)
{
u32 *pc;
clib_backtrace (uword * callers, uword max_callers, uword n_frames_to_skip)
{
u32 *pc;
@@
-222,7
+222,7
@@
backtrace_done:
/* use glibc backtrace for stack trace */
#include <execinfo.h>
/* use glibc backtrace for stack trace */
#include <execinfo.h>
-uword
+
__clib_export
uword
clib_backtrace (uword * callers, uword max_callers, uword n_frames_to_skip)
{
int size;
clib_backtrace (uword * callers, uword max_callers, uword n_frames_to_skip)
{
int size;