Lines Matching refs:log
39 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) {
95 _LOG(log, !at_fault, " %s %s\n", code_buffer, ascii_buffer);
104 log_t* log, pid_t tid, bool at_fault) {
132 _LOG(log, false, "\nmemory near %.2s:\n", ®_NAMES[reg * 2]);
133 dump_memory(log, tid, addr, at_fault);
140 _LOG(log, !at_fault, "\ncode around pc:\n");
141 dump_memory(log, tid, (uintptr_t)pc, at_fault);
144 _LOG(log, !at_fault, "\ncode around ra:\n");
145 dump_memory(log, tid, (uintptr_t)ra, at_fault);
150 log_t* log, pid_t tid, bool at_fault)
156 _LOG(log, only_in_tombstone, "cannot get registers: %s\n", strerror(errno));
160 _LOG(log, only_in_tombstone, " zr %08x at %08x v0 %08x v1 %08x\n",
162 _LOG(log, only_in_tombstone, " a0 %08x a1 %08x a2 %08x a3 %08x\n",
164 _LOG(log, only_in_tombstone, " t0 %08x t1 %08x t2 %08x t3 %08x\n",
166 _LOG(log, only_in_tombstone, " t4 %08x t5 %08x t6 %08x t7 %08x\n",
168 _LOG(log, only_in_tombstone, " s0 %08x s1 %08x s2 %08x s3 %08x\n",
170 _LOG(log, only_in_tombstone, " s4 %08x s5 %08x s6 %08x s7 %08x\n",
172 _LOG(log, only_in_tombstone, " t8 %08x t9 %08x k0 %08x k1 %08x\n",
174 _LOG(log, only_in_tombstone, " gp %08x sp %08x s8 %08x ra %08x\n",
176 _LOG(log, only_in_tombstone, " hi %08x lo %08x bva %08x epc %08x\n",