Lines Matching refs:log
32 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
35 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_memory_and_code()
50 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", ®_names[reg * 2]); in dump_memory_and_code()
55 dump_memory(log, backtrace, pc, "code around pc:"); in dump_memory_and_code()
57 dump_memory(log, backtrace, ra, "code around ra:"); in dump_memory_and_code()
61 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
64 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers()
68 _LOG(log, logtype::REGISTERS, " zr %016" PRIxPTR " at %016" PRIxPTR in dump_registers()
71 _LOG(log, logtype::REGISTERS, " a0 %016" PRIxPTR " a1 %016" PRIxPTR in dump_registers()
74 _LOG(log, logtype::REGISTERS, " a4 %016" PRIxPTR " a5 %016" PRIxPTR in dump_registers()
77 _LOG(log, logtype::REGISTERS, " t0 %016" PRIxPTR " t1 %016" PRIxPTR in dump_registers()
80 _LOG(log, logtype::REGISTERS, " s0 %016" PRIxPTR " s1 %016" PRIxPTR in dump_registers()
83 _LOG(log, logtype::REGISTERS, " s4 %016" PRIxPTR " s5 %016" PRIxPTR in dump_registers()
86 _LOG(log, logtype::REGISTERS, " t8 %016" PRIxPTR " t9 %016" PRIxPTR in dump_registers()
89 _LOG(log, logtype::REGISTERS, " gp %016" PRIxPTR " sp %016" PRIxPTR in dump_registers()
92 _LOG(log, logtype::REGISTERS, " hi %016" PRIxPTR " lo %016" PRIxPTR in dump_registers()