1 /*
2  * Copyright (C) 2015-2021 Alibaba Group Holding Limited
3  */
4 
5 #ifndef DEBUG_BACKTRACE_H
6 #define DEBUG_BACKTRACE_H
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
13 void debug_backtrace_now(int32_t (*print_func)(const char *fmt, ...));
14 
15 void debug_backtrace_task(char *taskname, int32_t (*print_func)(const char *fmt, ...));
16 
17 #ifdef __cplusplus
18 }
19 #endif
20 
21 #endif /* DEBUG_BACKTRACE_H */
22