/linux-6.6.21/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-6.6.21/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-6.6.21/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() 55 printk("%sCall Trace:\n", loglvl); in show_stack() 56 dump_trace(current, &stackops, (void *)loglvl); in show_stack()
|
/linux-6.6.21/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-6.6.21/arch/riscv/kernel/ |
D | stacktrace.c | 112 const char *loglvl = arg; in print_trace_address() local 114 print_ip_sym(loglvl, pc); in print_trace_address() 119 const char *loglvl) in dump_backtrace() argument 121 walk_stackframe(task, regs, print_trace_address, (void *)loglvl); in dump_backtrace() 124 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 126 pr_cont("%sCall Trace:\n", loglvl); in show_stack() 127 dump_backtrace(NULL, task, loglvl); in show_stack()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | stacktrace.c | 213 char *loglvl = arg; in dump_backtrace_entry() local 214 printk("%s %pSb\n", loglvl, (void *)where); in dump_backtrace_entry() 219 const char *loglvl) in dump_backtrace() argument 232 printk("%sCall trace:\n", loglvl); in dump_backtrace() 233 arch_stack_walk(dump_backtrace_entry, (void *)loglvl, tsk, regs); in dump_backtrace() 238 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument 240 dump_backtrace(NULL, tsk, loglvl); in show_stack()
|
/linux-6.6.21/arch/arc/kernel/ |
D | stacktrace.c | 175 const char *loglvl = arg; in __print_sym() local 177 printk("%s %pS\n", loglvl, (void *)address); in __print_sym() 235 const char *loglvl) in show_stacktrace() argument 237 printk("%s\nStack Trace:\n", loglvl); in show_stacktrace() 238 arc_unwind_core(tsk, regs, __print_sym, (void *)loglvl); in show_stacktrace() 243 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack() argument 245 show_stacktrace(tsk, NULL, loglvl); in show_stack()
|
/linux-6.6.21/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-6.6.21/tools/thermal/lib/ |
D | log.c | 12 static const char * const loglvl[] = { variable 27 for (i = 0; i < sizeof(loglvl) / sizeof(loglvl[LOG_DEBUG]); i++) in log_str2level() 28 if (!strcmp(lvl, loglvl[i])) in log_str2level()
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | traps.c | 553 const char *loglvl = data; in show_trace_cb() local 557 loglvl, frame->pc, (void *)frame->pc); in show_trace_cb() 562 const char *loglvl) in show_trace() argument 567 printk("%sCall Trace:\n", loglvl); in show_trace() 568 walk_stackframe(sp, show_trace_cb, (void *)loglvl); in show_trace() 580 const char *loglvl; member 597 print_hex_dump(sf->loglvl, arrow ? "> " : " ", DUMP_PREFIX_NONE, in show_stack_fragment_cb() 607 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 618 sf.loglvl = loglvl; in show_stack() 620 printk("%sStack:\n", loglvl); in show_stack() [all …]
|
/linux-6.6.21/arch/x86/kernel/ |
D | dumpstack.c | 113 void show_opcodes(struct pt_regs *regs, const char *loglvl) in show_opcodes() argument 124 __stringify(EPILOGUE_SIZE) "ph\n", loglvl, opcodes, in show_opcodes() 132 loglvl, prologue); in show_opcodes() 137 void show_ip(struct pt_regs *regs, const char *loglvl) in show_ip() argument 140 printk("%sEIP: %pS\n", loglvl, (void *)regs->ip); in show_ip() 142 printk("%sRIP: %04x:%pS\n", loglvl, (int)regs->cs, (void *)regs->ip); in show_ip() 144 show_opcodes(regs, loglvl); in show_ip() 310 const char *loglvl) in show_stack() argument 321 show_trace_log_lvl(task, NULL, sp, loglvl); in show_stack()
|
/linux-6.6.21/arch/arm/kernel/ |
D | traps.c | 66 unsigned long frame, const char *loglvl) in dump_backtrace_entry() argument 85 loglvl, where, from); in dump_backtrace_entry() 88 loglvl, where, (void *)where, from, (void *)from); in dump_backtrace_entry() 90 printk("%s %ps from %pS\n", loglvl, (void *)where, (void *)from); in dump_backtrace_entry() 94 dump_mem(loglvl, "Exception stack", frame + 4, end); in dump_backtrace_entry() 97 void dump_backtrace_stm(u32 *stack, u32 instruction, const char *loglvl) in dump_backtrace_stm() argument 109 printk("%s%s\n", loglvl, str); in dump_backtrace_stm() 114 printk("%s%s\n", loglvl, str); in dump_backtrace_stm() 212 const char *loglvl) in dump_backtrace() argument 214 unwind_backtrace(regs, tsk, loglvl); in dump_backtrace() [all …]
|
/linux-6.6.21/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 112 mov r1, loglvl
|
D | backtrace-clang.S | 20 #define loglvl r9 macro 103 mov loglvl, r2
|
/linux-6.6.21/arch/parisc/kernel/ |
D | traps.c | 57 struct pt_regs *regs, const char *loglvl); 178 static void do_show_stack(struct unwind_frame_info *info, const char *loglvl) in do_show_stack() argument 182 printk("%sBacktrace:\n", loglvl); in do_show_stack() 189 loglvl, info->ip, (void *) info->ip); in do_show_stack() 193 printk("%s\n", loglvl); in do_show_stack() 197 struct pt_regs *regs, const char *loglvl) in parisc_show_stack() argument 203 do_show_stack(&info, loglvl); in parisc_show_stack() 206 void show_stack(struct task_struct *t, unsigned long *sp, const char *loglvl) in show_stack() argument 208 parisc_show_stack(t, NULL, loglvl); in show_stack()
|
/linux-6.6.21/arch/openrisc/kernel/ |
D | traps.c | 52 const char *loglvl = data; in print_trace() local 54 printk("%s[<%p>] %s%pS\n", loglvl, (void *) addr, reliable ? "" : "? ", in print_trace() 67 void show_stack(struct task_struct *task, unsigned long *esp, const char *loglvl) in show_stack() argument 72 printk("%sCall trace:\n", loglvl); in show_stack() 73 unwind_stack((void *)loglvl, esp, print_trace); in show_stack()
|
/linux-6.6.21/arch/arm/include/asm/ |
D | traps.h | 33 unsigned long frame, const char *loglvl); 38 asmlinkage void dump_backtrace_stm(u32 *stack, u32 instruction, const char *loglvl);
|
/linux-6.6.21/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() 134 printk("%s[<%lx>] %pSR\n", loglvl, tmp, (void *)tmp); in dik_show_trace() 136 printk("%s ...", loglvl); in dik_show_trace() 140 printk("%s\n", loglvl); in dik_show_trace() 145 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 164 printk("%s ", loglvl); in show_stack() 171 dik_show_trace(sp, loglvl); in show_stack()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | traps.c | 57 const char *loglvl, bool user) in show_backtrace() argument 66 printk("%sCall Trace:", loglvl); in show_backtrace() 70 print_ip_sym(loglvl, addr); in show_backtrace() 72 printk("%s\n", loglvl); in show_backtrace() 76 const struct pt_regs *regs, const char *loglvl, bool user) in show_stacktrace() argument 83 printk("%sStack :", loglvl); in show_stacktrace() 88 printk("%s ", loglvl); in show_stacktrace() 104 show_backtrace(task, regs, loglvl, user); in show_stacktrace() 107 void show_stack(struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 127 show_stacktrace(task, ®s, loglvl, false); in show_stack()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | process.c | 68 const char *loglvl = arg; in ia64_do_show_stack() local 70 printk("%s\nCall Trace:\n", loglvl); in ia64_do_show_stack() 80 loglvl, ip, (void *)ip, sp, bsp); in ia64_do_show_stack() 85 show_stack (struct task_struct *task, unsigned long *sp, const char *loglvl) in show_stack() argument 88 unw_init_running(ia64_do_show_stack, (void *)loglvl); in show_stack() 93 ia64_do_show_stack(&info, (void *)loglvl); in show_stack()
|
/linux-6.6.21/arch/x86/include/asm/ |
D | stacktrace.h | 112 void show_opcodes(struct pt_regs *regs, const char *loglvl); 113 void show_ip(struct pt_regs *regs, const char *loglvl);
|
/linux-6.6.21/arch/sparc/kernel/ |
D | process_32.c | 145 void show_stack(struct task_struct *tsk, unsigned long *_ksp, const char *loglvl) in show_stack() argument 167 printk("%s[%08lx : ", loglvl, pc); in show_stack() 168 printk("%s%pS ] ", loglvl, (void *) pc); in show_stack() 171 printk("%s\n", loglvl); in show_stack()
|
/linux-6.6.21/include/linux/ |
D | kallsyms.h | 170 static inline void print_ip_sym(const char *loglvl, unsigned long ip) in print_ip_sym() argument 172 printk("%s[<%px>] %pS\n", loglvl, (void *) ip, (void *) ip); in print_ip_sym()
|
/linux-6.6.21/arch/s390/kernel/ |
D | dumpstack.c | 130 const char *loglvl) in show_stack() argument 134 printk("%sCall Trace:\n", loglvl); in show_stack() 138 loglvl, state.ip, (void *) state.ip); in show_stack()
|