/Linux-v5.15/arch/microblaze/kernel/ |
D | unwind.c | 158 const char *loglvl); 166 const char *loglvl) in unwind_trap() argument 186 const char *loglvl) in microblaze_unwind_inner() argument 208 printk("%sHW EXCEPTION\n", loglvl); in microblaze_unwind_inner() 217 printk("%s%s\n", loglvl, handler->trap_name); in microblaze_unwind_inner() 218 unwind_trap(task, pc, fp, trace, loglvl); in microblaze_unwind_inner() 238 loglvl, (void *) pc, in microblaze_unwind_inner() 243 print_ip_sym(loglvl, pc); in microblaze_unwind_inner() 274 const char *loglvl) in microblaze_unwind() argument 280 regs->r15, trace, loglvl); in microblaze_unwind() [all …]
|
D | traps.c | 34 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 53 printk("%sKernel Stack:\n", loglvl); in show_stack() 68 print_hex_dump(loglvl, "", DUMP_PREFIX_ADDRESS, 32, 4, (void *)fp, in show_stack() 70 printk("%s\n\nCall Trace:\n", loglvl); in show_stack() 71 microblaze_unwind(task, NULL, loglvl); in show_stack() 72 printk("%s\n", loglvl); in show_stack()
|
/Linux-v5.15/arch/sh/kernel/ |
D | dumpstack.c | 19 void dump_mem(const char *str, const char *loglvl, unsigned long bottom, in dump_mem() argument 25 printk("%s%s(0x%08lx to 0x%08lx)\n", loglvl, str, bottom, top); in dump_mem() 28 printk("%s%04lx: ", loglvl, p & 0xffff); in dump_mem() 124 struct pt_regs *regs, const char *loglvl) in show_trace() argument 129 printk("%s\nCall trace:\n", loglvl); in show_trace() 131 unwind_stack(tsk, regs, sp, &print_trace_ops, (void *)loglvl); in show_trace() 141 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument 153 dump_mem("Stack: ", loglvl, stack, THREAD_SIZE + in show_stack() 155 show_trace(tsk, sp, NULL, loglvl); in show_stack()
|
/Linux-v5.15/arch/um/kernel/ |
D | sysrq.c | 20 const char *loglvl = data; in _print_addr() local 22 printk("%s [<%08lx>] %s%pS\n", loglvl, address, reliable ? "" : "? ", in _print_addr() 31 const char *loglvl) in show_stack() argument 45 printk("%sStack:\n", loglvl); in show_stack() 54 printk("%sCall Trace:\n", loglvl); in show_stack() 55 dump_trace(current, &stackops, (void *)loglvl); in show_stack()
|
/Linux-v5.15/arch/arm64/kernel/ |
D | stacktrace.c | 154 static void dump_backtrace_entry(unsigned long where, const char *loglvl) in dump_backtrace_entry() argument 156 printk("%s %pSb\n", loglvl, (void *)where); in dump_backtrace_entry() 160 const char *loglvl) in dump_backtrace() argument 192 printk("%sCall trace:\n", loglvl); in dump_backtrace() 196 dump_backtrace_entry(frame.pc, loglvl); in dump_backtrace() 206 dump_backtrace_entry(regs->pc, loglvl); in dump_backtrace() 213 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument 215 dump_backtrace(NULL, tsk, loglvl); in show_stack()
|
/Linux-v5.15/arch/h8300/kernel/ |
D | traps.c | 114 void show_stack(struct task_struct *task, unsigned long *esp, const char *loglvl) in show_stack() argument 124 printk("%sStack from %08lx:", loglvl, (unsigned long)stack); in show_stack() 130 printk("%s ", loglvl); in show_stack() 134 printk("%s\nCall Trace:\n", loglvl); in show_stack() 149 printk("%s ", loglvl); in show_stack() 154 printk("%s\n", loglvl); in show_stack()
|
/Linux-v5.15/arch/riscv/kernel/ |
D | stacktrace.c | 103 const char *loglvl = arg; in print_trace_address() local 105 print_ip_sym(loglvl, pc); in print_trace_address() 110 const char *loglvl) in dump_backtrace() argument 112 walk_stackframe(task, regs, print_trace_address, (void *)loglvl); in dump_backtrace() 115 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 117 pr_cont("%sCall Trace:\n", loglvl); in show_stack() 118 dump_backtrace(NULL, task, loglvl); in show_stack()
|
/Linux-v5.15/arch/nios2/kernel/ |
D | traps.c | 61 const char *loglvl) in show_stack() argument 76 printk("%sStack from %08lx:", loglvl, (unsigned long)stack); in show_stack() 81 printk("%s\n ", loglvl); in show_stack() 82 printk("%s %08lx", loglvl, *stack++); in show_stack() 85 printk("%s\nCall Trace:", loglvl); in show_stack() 101 printk("%s [<%08lx>]", loglvl, addr); in show_stack() 105 printk("%s\n", loglvl); in show_stack()
|
/Linux-v5.15/arch/arc/kernel/ |
D | stacktrace.c | 174 const char *loglvl = arg; in __print_sym() local 176 printk("%s %pS\n", loglvl, (void *)address); in __print_sym() 234 const char *loglvl) in show_stacktrace() argument 236 printk("%s\nStack Trace:\n", loglvl); in show_stacktrace() 237 arc_unwind_core(tsk, regs, __print_sym, (void *)loglvl); in show_stacktrace() 242 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument 244 show_stacktrace(tsk, NULL, loglvl); in show_stack()
|
/Linux-v5.15/arch/hexagon/kernel/ |
D | traps.c | 78 unsigned long ip, const char *loglvl) in do_show_stack() argument 92 printk("%sCPU#%d, %s/%d, Call Trace:\n", loglvl, raw_smp_processor_id(), in do_show_stack() 106 printk("%s-- Corrupt frame pointer %p\n", loglvl, fp); in do_show_stack() 123 printk("%s[%p] 0x%lx: %s + 0x%lx", loglvl, fp, ip, name, offset); in do_show_stack() 133 printk("%s-- Corrupt frame pointer %p\n", loglvl, newfp); in do_show_stack() 143 printk("%s-- trap0 -- syscall_nr: %ld", loglvl, in do_show_stack() 151 printk("%s-- %s (0x%lx) badva: %lx\n", loglvl, in do_show_stack() 174 void show_stack(struct task_struct *task, unsigned long *fp, const char *loglvl) in show_stack() argument 177 do_show_stack(task, fp, 0, loglvl); in show_stack()
|
/Linux-v5.15/arch/x86/kernel/ |
D | dumpstack.c | 119 void show_opcodes(struct pt_regs *regs, const char *loglvl) in show_opcodes() argument 130 __stringify(EPILOGUE_SIZE) "ph\n", loglvl, opcodes, in show_opcodes() 138 loglvl, prologue); in show_opcodes() 143 void show_ip(struct pt_regs *regs, const char *loglvl) in show_ip() argument 146 printk("%sEIP: %pS\n", loglvl, (void *)regs->ip); in show_ip() 148 printk("%sRIP: %04x:%pS\n", loglvl, (int)regs->cs, (void *)regs->ip); in show_ip() 150 show_opcodes(regs, loglvl); in show_ip() 307 const char *loglvl) in show_stack() argument 318 show_trace_log_lvl(task, NULL, sp, loglvl); in show_stack()
|
/Linux-v5.15/arch/arm/kernel/ |
D | traps.c | 66 unsigned long frame, const char *loglvl) in dump_backtrace_entry() argument 72 loglvl, where, (void *)where, from, (void *)from); in dump_backtrace_entry() 75 loglvl, where, from); in dump_backtrace_entry() 79 dump_mem(loglvl, "Exception stack", frame + 4, end); in dump_backtrace_entry() 82 void dump_backtrace_stm(u32 *stack, u32 instruction, const char *loglvl) in dump_backtrace_stm() argument 94 printk("%s%s\n", loglvl, str); in dump_backtrace_stm() 99 printk("%s%s\n", loglvl, str); in dump_backtrace_stm() 193 const char *loglvl) in dump_backtrace() argument 195 unwind_backtrace(regs, tsk, loglvl); in dump_backtrace() 199 const char *loglvl) in dump_backtrace() argument [all …]
|
/Linux-v5.15/arch/arm/lib/ |
D | backtrace.S | 21 #define loglvl r9 macro 32 mov loglvl, r2 78 mov r3, loglvl 86 mov r2, loglvl 93 mov r2, loglvl 104 mov r1, loglvl
|
D | backtrace-clang.S | 20 #define loglvl r9 macro 103 mov loglvl, r2
|
/Linux-v5.15/arch/xtensa/kernel/ |
D | traps.c | 489 const char *loglvl = data; in show_trace_cb() local 493 loglvl, frame->pc, (void *)frame->pc); in show_trace_cb() 498 const char *loglvl) in show_trace() argument 503 printk("%sCall Trace:\n", loglvl); in show_trace() 504 walk_stackframe(sp, show_trace_cb, (void *)loglvl); in show_trace() 511 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 521 printk("%sStack:\n", loglvl); in show_stack() 522 print_hex_dump(loglvl, " ", DUMP_PREFIX_NONE, in show_stack() 525 show_trace(task, sp, loglvl); in show_stack()
|
/Linux-v5.15/arch/nds32/kernel/ |
D | traps.c | 58 const char *loglvl) in __dump() argument 62 printk("%sCall Trace:\n", loglvl); in __dump() 69 print_ip_sym(loglvl, ret_addr); in __dump() 85 print_ip_sym(loglvl, ret_addr); in __dump() 92 printk("%s\n", loglvl); in __dump() 95 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument 112 __dump(tsk, base_reg, loglvl); in show_stack()
|
/Linux-v5.15/arch/parisc/kernel/ |
D | traps.c | 52 struct pt_regs *regs, const char *loglvl); 173 static void do_show_stack(struct unwind_frame_info *info, const char *loglvl) in do_show_stack() argument 177 printk("%sBacktrace:\n", loglvl); in do_show_stack() 184 loglvl, info->ip, (void *) info->ip); in do_show_stack() 188 printk("%s\n", loglvl); in do_show_stack() 192 struct pt_regs *regs, const char *loglvl) in parisc_show_stack() argument 198 do_show_stack(&info, loglvl); in parisc_show_stack() 201 void show_stack(struct task_struct *t, unsigned long *sp, const char *loglvl) in show_stack() argument 203 parisc_show_stack(t, NULL, loglvl); in show_stack()
|
/Linux-v5.15/arch/alpha/kernel/ |
D | traps.c | 124 dik_show_trace(unsigned long *sp, const char *loglvl) in dik_show_trace() argument 127 printk("%sTrace:\n", loglvl); in dik_show_trace() 136 printk("%s[<%lx>] %pSR\n", loglvl, tmp, (void *)tmp); in dik_show_trace() 138 printk("%s ...", loglvl); in dik_show_trace() 142 printk("%s\n", loglvl); in dik_show_trace() 147 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 166 printk("%s ", loglvl); in show_stack() 173 dik_show_trace(sp, loglvl); in show_stack()
|
/Linux-v5.15/arch/openrisc/kernel/ |
D | traps.c | 43 const char *loglvl = data; in print_trace() local 45 printk("%s[<%p>] %s%pS\n", loglvl, (void *) addr, reliable ? "" : "? ", in print_trace() 50 void show_stack(struct task_struct *task, unsigned long *esp, const char *loglvl) in show_stack() argument 55 printk("%sCall trace:\n", loglvl); in show_stack() 56 unwind_stack((void *)loglvl, esp, print_trace); in show_stack()
|
/Linux-v5.15/arch/ia64/kernel/ |
D | process.c | 67 const char *loglvl = arg; in ia64_do_show_stack() local 69 printk("%s\nCall Trace:\n", loglvl); in ia64_do_show_stack() 79 loglvl, ip, (void *)ip, sp, bsp); in ia64_do_show_stack() 84 show_stack (struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 87 unw_init_running(ia64_do_show_stack, (void *)loglvl); in show_stack() 92 ia64_do_show_stack(&info, (void *)loglvl); in show_stack()
|
/Linux-v5.15/arch/x86/include/asm/ |
D | stacktrace.h | 102 void show_opcodes(struct pt_regs *regs, const char *loglvl); 103 void show_ip(struct pt_regs *regs, const char *loglvl);
|
/Linux-v5.15/include/linux/ |
D | kallsyms.h | 177 static inline void print_ip_sym(const char *loglvl, unsigned long ip) in print_ip_sym() argument 179 printk("%s[<%px>] %pS\n", loglvl, (void *) ip, (void *) ip); in print_ip_sym()
|
/Linux-v5.15/arch/s390/kernel/ |
D | dumpstack.c | 140 const char *loglvl) in show_stack() argument 144 printk("%sCall Trace:\n", loglvl); in show_stack() 148 loglvl, state.ip, (void *) state.ip); in show_stack()
|
/Linux-v5.15/arch/sparc/kernel/ |
D | process_32.c | 146 void show_stack(struct task_struct *tsk, unsigned long *_ksp, const char *loglvl) in show_stack() argument 168 printk("%s[%08lx : ", loglvl, pc); in show_stack() 169 printk("%s%pS ] ", loglvl, (void *) pc); in show_stack() 172 printk("%s\n", loglvl); in show_stack()
|
/Linux-v5.15/arch/mips/kernel/ |
D | traps.c | 113 static void show_raw_backtrace(unsigned long reg29, const char *loglvl, in show_raw_backtrace() argument 119 printk("%sCall Trace:", loglvl); in show_raw_backtrace() 121 printk("%s\n", loglvl); in show_raw_backtrace() 125 printk("%s (Bad stack address)", loglvl); in show_raw_backtrace() 129 print_ip_sym(loglvl, addr); in show_raw_backtrace() 131 printk("%s\n", loglvl); in show_raw_backtrace() 145 const char *loglvl, bool user) in show_backtrace() argument 155 show_raw_backtrace(sp, loglvl, user); in show_backtrace() 158 printk("%sCall Trace:\n", loglvl); in show_backtrace() 160 print_ip_sym(loglvl, pc); in show_backtrace() [all …]
|