2019-07-27 22:44:32 +08:00
|
|
|
|
#ifndef ACL_TRACE_INCLUDE_H
|
2014-11-30 21:15:35 +08:00
|
|
|
|
#define ACL_TRACE_INCLUDE_H
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-11-30 21:15:35 +08:00
|
|
|
|
/**
|
2019-07-27 22:44:32 +08:00
|
|
|
|
* 将当前函数的堆栈输出至指定文件中
|
|
|
|
|
* @param filepath {const char*} 目标文件名
|
2014-11-30 21:15:35 +08:00
|
|
|
|
*/
|
2014-12-07 23:48:11 +08:00
|
|
|
|
void acl_trace_save(const char *filepath);
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
2014-11-30 21:15:35 +08:00
|
|
|
|
/**
|
2019-07-27 22:44:32 +08:00
|
|
|
|
* 将当前函数的堆栈输出至日志中
|
2014-11-30 21:15:35 +08:00
|
|
|
|
*/
|
2014-12-07 23:48:11 +08:00
|
|
|
|
void acl_trace_info(void);
|
2014-11-19 00:25:21 +08:00
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|