Home
last modified time | relevance | path

Searched refs:print_func (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/debug/src/
A Ddebug.c9 void aos_debug_backtrace_now(int32_t (*print_func)(const char *fmt, ...)) in aos_debug_backtrace_now()
11 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_backtrace_now()
18 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_backtrace_task()
23 void aos_debug_mm_overview(int32_t (*print_func)(const char *fmt, ...)) in aos_debug_mm_overview()
25 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_mm_overview()
32 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_task_overview()
39 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_buf_queue_overview()
46 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_queue_overview()
53 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_sem_overview()
60 BT_PRINT bt_printf = print_func ? print_func : printf; in aos_debug_mutex_overview()
[all …]
A Ddebug_overview.c50 print_func( in debug_mm_overview()
52 print_func( in debug_mm_overview()
65 print_func( in debug_mm_overview()
70 print_func( in debug_mm_overview()
80 print_func( in debug_mm_overview()
152 if (print_func == NULL) { in debug_task_show()
153 print_func = printf; in debug_task_show()
201 print_func( in debug_buf_queue_overview()
203 print_func( in debug_buf_queue_overview()
205 print_func( in debug_buf_queue_overview()
[all …]
A Ddebug_panic.c212 if (print_func == NULL) { in debug_print_block()
220 print_func("!"); in debug_print_block()
222 print_func(" "); in debug_print_block()
224 print_func("free "); in debug_print_block()
227 print_func("!"); in debug_print_block()
229 print_func(" "); in debug_print_block()
231 print_func("used "); in debug_print_block()
267 print_func(")"); in debug_print_block()
271 print_func("\r\n"); in debug_print_block()
314 if (print_func == NULL) { in debug_dump_mm_error()
[all …]
A Ddebug_backtrace.c9 extern int backtrace_now(int (*print_func)(const char *fmt, ...));
10 extern int backtrace_task(void *task, int (*print_func)(const char *fmt, ...));
12 void debug_backtrace_now(int32_t (*print_func)(const char *fmt, ...)) in debug_backtrace_now()
14 backtrace_now(print_func); in debug_backtrace_now()
17 void debug_backtrace_task(char *taskname, int32_t (*print_func)(const char *fmt, ...)) in debug_backtrace_task()
27 print_func("task name \"%s\" \r\n", in debug_backtrace_task()
29 backtrace_task(task, print_func); in debug_backtrace_task()
32 backtrace_task(task, print_func); in debug_backtrace_task()
39 void backtrace_handle(char *PC, int *SP, char *LR, int (*print_func)(const char *fmt, ...));
41 int (*print_func)(const char *fmt, ...)) in debug_panic_backtrace()
[all …]
A Ddebug_overview.h38 void debug_mm_overview(int (*print_func)(const char *fmt, ...));
45 void debug_task_overview(int (*print_func)(const char *fmt, ...));
52 void debug_buf_queue_overview(int (*print_func)(const char *fmt, ...));
59 void debug_queue_overview(int (*print_func)(const char *fmt, ...));
66 void debug_sem_overview(int (*print_func)(const char *fmt, ...));
73 void debug_mutex_overview(int (*print_func)(const char *fmt, ...));
80 void debug_overview(int (*print_func)(const char *fmt, ...));
A Ddebug_test.c17 typedef int (*print_func)(const char *fmt, ...); typedef
19 static void print_test(int (*print_func)(const char *fmt, ...)) in print_test()
26 print_func("int : %d max_32 : 0x%X\r\n", a, MAX_32); in print_test()
27 print_func("ll : %lld max_64 : 0x%llX\r\n", b, MAX_64); in print_test()
28 print_func("float : %f\r\n", c); in print_test()
29 print_func("double : %lf\r\n", d); in print_test()
A Ddebug_backtrace.h13 void debug_backtrace_now(int32_t (*print_func)(const char *fmt, ...));
15 void debug_backtrace_task(char *taskname, int32_t (*print_func)(const char *fmt, ...));
/AliOS-Things-master/hardware/arch/armv7m/common/
A Dbacktrace.c95 if (print_func != NULL) { in backtraceFindLROffset()
103 if (print_func != NULL) { in backtraceFindLROffset()
110 if (print_func) { in backtraceFindLROffset()
118 if (print_func != NULL) { in backtraceFindLROffset()
162 if (print_func) { in backtraceFromStack()
358 if (print_func == NULL) { in backtrace_now()
359 print_func = printf; in backtrace_now()
397 if (print_func == NULL) { in backtrace_task()
398 print_func = printf; in backtrace_task()
409 if (print_func != NULL) { in backtrace_task()
[all …]
A Dpanic_c.c62 void panicShowRegs(void *context, int (*print_func)(const char *fmt, ...)) in panicShowRegs()
104 print_func("========== Regs info ==========\r\n"); in panicShowRegs()
115 print_func(s_panic_regs); in panicShowRegs()
132 print_func(s_panic_regs); in panicShowRegs()
/AliOS-Things-master/hardware/arch/armv8m/common/
A Dbacktrace.c95 if (print_func != NULL) { in backtraceFindLROffset()
103 if (print_func != NULL) { in backtraceFindLROffset()
110 if (print_func) { in backtraceFindLROffset()
118 if (print_func != NULL) { in backtraceFindLROffset()
162 if (print_func) { in backtraceFromStack()
358 if (print_func == NULL) { in backtrace_now()
359 print_func = printf; in backtrace_now()
397 if (print_func == NULL) { in backtrace_task()
398 print_func = printf; in backtrace_task()
409 if (print_func != NULL) { in backtrace_task()
[all …]
A Dpanic_c.c62 void panicShowRegs(void *context, int (*print_func)(const char *fmt, ...)) in panicShowRegs()
104 print_func("========== Regs info ==========\r\n"); in panicShowRegs()
115 print_func(s_panic_regs); in panicShowRegs()
132 print_func(s_panic_regs); in panicShowRegs()
/AliOS-Things-master/components/debug/include/aos/
A Ddebug.h27 void aos_debug_backtrace_now(int32_t (*print_func)(const char *fmt, ...));
37 void aos_debug_backtrace_task(char *taskname, int32_t (*print_func)(const char *fmt, ...));
46 void aos_debug_mm_overview(int32_t (*print_func)(const char *fmt, ...));
55 void aos_debug_task_overview(int32_t (*print_func)(const char *fmt, ...));
64 void aos_debug_buf_queue_overview(int32_t (*print_func)(const char *fmt, ...));
73 void aos_debug_queue_overview(int32_t (*print_func)(const char *fmt, ...));
82 void aos_debug_sem_overview(int32_t (*print_func)(const char *fmt, ...));
91 void aos_debug_mutex_overview(int32_t (*print_func)(const char *fmt, ...));
100 void aos_debug_overview(int32_t (*print_func)(const char *fmt, ...));
/AliOS-Things-master/hardware/arch/riscv/src/rv64fd_32gpr/
A Dbacktrace.c26 void backtrace_handle(char *PC, int *SP, char *LR, int (*print_func)(const char *fmt, ...));
30 int backtrace_now(int (*print_func)(const char *fmt, ...)) in backtrace_now()
37 void backtrace_task(void *task, int (*print_func)(const char *fmt, ...)) in backtrace_task()
45 int (*print_func)(const char *fmt, ...)) in backtrace_caller()
53 int (*print_func)(const char *fmt, ...)) in backtrace_callee()
72 int (*print_func)(const char *fmt, ...)) in backtrace_handle()
A Dbacktrace.h10 int backtrace_now(int (*print_func)(const char *fmt, ...));
14 int backtrace_task(char *taskname, int (*print_func)(const char *fmt, ...));
19 int (*print_func)(const char *fmt, ...));
24 int (*print_func)(const char *fmt, ...));
A Dpanic_c.c80 void panicShowRegs(void *context, int (*print_func)(const char *fmt, ...)) in panicShowRegs()
128 print_func("========== Regs info ==========\r\n"); in panicShowRegs()
139 print_func(s_panic_regs); in panicShowRegs()
152 print_func(s_panic_regs); in panicShowRegs()
/AliOS-Things-master/hardware/arch/armv7m/include/
A Dbacktrace.h10 int backtrace_now(int (*print_func)(const char *fmt, ...));
14 int backtrace_task(char *taskname, int (*print_func)(const char *fmt, ...));
19 int (*print_func)(const char *fmt, ...));
24 int (*print_func)(const char *fmt, ...));
/AliOS-Things-master/hardware/arch/armv8m/include/
A Dbacktrace.h10 int backtrace_now(int (*print_func)(const char *fmt, ...));
14 int backtrace_task(char *taskname, int (*print_func)(const char *fmt, ...));
19 int (*print_func)(const char *fmt, ...));
24 int (*print_func)(const char *fmt, ...));

Completed in 18 milliseconds