|
#define | VSF_TRACE_CFG_LINEEND "\r\n" |
|
#define | VSF_TRACE_CFG_DEFAULT_LEVEL VSF_TRACE_INFO |
|
#define | VSF_TRACE_DF_DS(n) (((n) & 0xFF) << 0) |
|
#define | VSF_TRACE_DF_DPL(n) (((n) & 0xFF) << 8) |
|
#define | VSF_TRACE_DF_ADDR (1UL << 16) |
|
#define | VSF_TRACE_DF_CHAR (1UL << 17) |
|
#define | VSF_TRACE_DF_NEWLINE (1UL << 18) |
|
#define | VSF_TRACE_DF_U8_16 (VSF_TRACE_DF_DS(1) | VSF_TRACE_DF_DPL(16)) |
|
#define | VSF_TRACE_DF_U8_16_A (VSF_TRACE_DF_U8_16 | VSF_TRACE_DF_ADDR) |
|
#define | VSF_TRACE_DF_U8_16_AC (VSF_TRACE_DF_U8_16_A | VSF_TRACE_DF_CHAR) |
|
#define | VSF_TRACE_DF_U8_16_ACN (VSF_TRACE_DF_U8_16_AC | VSF_TRACE_DF_NEWLINE) |
|
#define | VSF_TRACE_DF_U8_16_AN (VSF_TRACE_DF_U8_16_A | VSF_TRACE_DF_NEWLINE) |
|
#define | VSF_TRACE_DF_U8_16_N (VSF_TRACE_DF_U8_16 | VSF_TRACE_DF_NEWLINE) |
|
#define | VSF_TRACE_DF_DEFAULT VSF_TRACE_DF_U8_16_ACN |
|
#define | VSF_TRACE_POINTER_HEX "%p" |
|
#define | vsf_trace_print_mem vsf_trace_buffer |
|
#define | vsf_trace_init(__stream) __vsf_trace_init((vsf_stream_t *)(__stream)) |
|
#define | vsf_trace_info(...) vsf_trace(VSF_TRACE_INFO, __VA_ARGS__) |
|
#define | vsf_trace_warning(...) vsf_trace(VSF_TRACE_WARNING, __VA_ARGS__) |
|
#define | vsf_trace_error(...) vsf_trace(VSF_TRACE_ERROR, __VA_ARGS__) |
|
#define | vsf_trace_debug(...) vsf_trace(VSF_TRACE_DEBUG, __VA_ARGS__) |
|
#define | __vsf_bgtrace_type(__name) __name##_bgtrace_t |
|
#define | vsf_bgtrace_type(__name) __vsf_bgtrace_type(__name) |
|
#define | __vsf_bgtrace_etype(__name) __name##_bgtrace_ele_t |
|
#define | vsf_bgtrace_etype(__name) __vsf_bgtrace_etype(__name) |
|
#define | __declare_bgtrace(__name) vsf_dcl_class(vsf_bgtrace_type(__name)) |
|
#define | __define_bgtrace(__name, __ele_num, ...) |
|
#define | declare_bgtrace(__name) __declare_bgtrace(__name) |
|
#define | dcl_bgtrace(__name) declare_bgtrace(__name) |
|
#define | define_bgtrace(__name, __ele_num, ...) __define_bgtrace(__name, (__ele_num), __VA_ARGS__) |
|
#define | def_bgtrace(__name, __ele_num, ...) define_bgtrace(__name, (__ele_num), __VA_ARGS__) |
|
#define | __describe_bgtrace(__name, __ele_num, __print_element, ...) |
|
#define | describe_bgtrace(__name, __ele_num, __print_element, ...) __describe_bgtrace(__name, (__ele_num), (__print_element), __VA_ARGS__) |
|
#define | __vsf_trace_buffer3(__level, __buffer, __len) __vsf_trace_buffer((__level), (__buffer), (__len), VSF_TRACE_DF_DEFAULT) |
|
#define | __vsf_trace_buffer4(__level, __buffer, __len, __flag) __vsf_trace_buffer((__level), (__buffer), (__len), (__flag)) |
|
#define | vsf_trace_buffer(__level, __buffer, __len, ...) |
|
|
void | __vsf_trace_init (vsf_stream_t *stream) |
|
void | vsf_trace_fini (void) |
|
void | __vsf_trace_buffer (vsf_trace_level_t level, void *buffer, uint_fast16_t len, uint_fast32_t flag) |
|
void | vsf_trace_string (vsf_trace_level_t level, const char *str) |
|
void | vsf_trace_arg (vsf_trace_level_t level, const char *format, va_list arg) |
|
void | vsf_trace (vsf_trace_level_t level, const char *format,...) |
|
uint_fast32_t | __vsf_trace_output (const char *buff, uint_fast32_t size) |
|
void | vsf_trace_assert (const char *expr, const char *file, int line, const char *func) |
|
void | vsf_trace_dump_stack (void) |
|
void | vsf_bgtrace_clear (vsf_bgtrace_t *bgtrace) |
|
uint32_t | vsf_bgtrace_total (vsf_bgtrace_t *bgtrace) |
|
void | vsf_bgtrace_append (vsf_bgtrace_t *bgtrace, void *element) |
|
void | vsf_bgtrace_print (vsf_bgtrace_t *bgtrace, int cnt) |
|