Searched defs:log (Results 1 - 8 of 8) sorted by relevance

/system/core/debuggerd/x86/
H A Dmachine.c35 log_t* log, pid_t tid, bool at_fault) { variable
39 log_t* log, pid_t tid, bool at_fault) { variable
44 _LOG(log, only_in_tombstone, "cannot get registers: %s\n", strerror(errno));
50 _LOG(log, only_in_tombstone, " eax %08x ebx %08x ecx %08x edx %08x\n",
52 _LOG(log, only_in_tombstone, " esi %08x edi %08x\n",
54 _LOG(log, only_in_tombstone, " xcs %08x xds %08x xes %08x xfs %08x xss %08x\n",
56 _LOG(log, only_in_tombstone, " eip %08x ebp %08x esp %08x flags %08x\n",
/system/core/debuggerd/
H A Dutility.c34 void _LOG(log_t* log, bool in_tombstone_only, const char *fmt, ...) { argument
40 if (log && log->tfd >= 0) {
44 write(log->tfd, buf, len);
47 if (!in_tombstone_only && (!log || !log->quiet)) {
H A Dbacktrace.c37 static void dump_process_header(log_t* log, pid_t pid) { argument
54 _LOG(log, false, "\n\n----- pid %d at %s -----\n", pid, timestr);
57 _LOG(log, false, "Cmd line: %s\n", procname);
61 static void dump_process_footer(log_t* log, pid_t pid) { argument
62 _LOG(log, false, "\n----- end %d -----\n", pid);
65 static void dump_thread(log_t* log, pid_t tid, ptrace_context_t* context, bool attached, argument
84 _LOG(log, false, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid);
87 _LOG(log, false, "Could not attach to thread: %s\n", strerror(errno));
96 _LOG(log, false, "Could not obtain stack trace for thread.\n");
104 _LOG(log, fals
117 log_t log; local
[all...]
H A Dtombstone.c131 static void dump_revision_info(log_t* log) argument
137 _LOG(log, false, "Revision: '%s'\n", revision);
140 static void dump_build_info(log_t* log) argument
146 _LOG(log, false, "Build fingerprint: '%s'\n", fingerprint);
149 static void dump_fault_addr(log_t* log, pid_t tid, int sig) argument
155 _LOG(log, false, "cannot get siginfo: %s\n", strerror(errno));
157 _LOG(log, false, "signal %d (%s), code %d (%s), fault addr %08x\n",
162 _LOG(log, false, "signal %d (%s), code %d (%s), fault addr --------\n",
167 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid, bool at_fault) { argument
195 _LOG(log, fals
205 log_t* log, pid_t tid __attribute((unused)), bool at_fault, variable
220 dump_stack_segment(const ptrace_context_t* context, log_t* log, pid_t tid, bool only_in_tombstone, uintptr_t* sp, size_t words, int label) argument
268 dump_stack(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault, const backtrace_frame_t* backtrace, size_t frames) argument
320 dump_backtrace_and_stack(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault) argument
330 dump_nearby_maps(const ptrace_context_t* context, log_t* log, pid_t tid) argument
393 dump_thread(const ptrace_context_t* context, log_t* log, pid_t tid, bool at_fault, int* total_sleep_time_usec) argument
406 dump_sibling_thread_report(const ptrace_context_t* context, log_t* log, pid_t pid, pid_t tid, int* total_sleep_time_usec) argument
459 dump_log_file(log_t* log, pid_t pid, const char* filename, bool tailOnly) argument
591 dump_logs(log_t* log, pid_t pid, bool tailOnly) argument
600 dump_crash(log_t* log, pid_t pid, pid_t tid, int signal, bool dump_sibling_threads, int* total_sleep_time_usec) argument
713 log_t log; local
[all...]
/system/security/keystore/
H A Dtest-keystore20 log_file=$prefix.log
28 function log() { function
61 log "comparing $baseline_file and $log_file"
62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
70 log "reset keystore as system user"
78 log "root does not have permission to run test"
82 log "but system user does"
87 log "password is now bar"
93 log "no error implies initialized and unlocked"
97 log "sa
[all...]
/system/core/debuggerd/arm/
H A Dmachine.c45 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) { argument
105 _LOG(log, !at_fault, " %s %s\n", code_buffer, ascii_buffer);
114 log_t* log, pid_t tid, bool at_fault) { variable
135 _LOG(log, false, "\nmemory near %.2s:\n", &REG_NAMES[reg * 2]);
136 dump_memory(log, tid, addr, at_fault);
140 _LOG(log, !at_fault, "\ncode around pc:\n");
141 dump_memory(log, tid, (uintptr_t)regs.ARM_pc, at_fault);
144 _LOG(log, !at_fault, "\ncode around lr:\n");
145 dump_memory(log, tid, (uintptr_t)regs.ARM_lr, at_fault);
150 log_t* log, pid_ variable
[all...]
/system/core/debuggerd/mips/
H A Dmachine.c39 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) { argument
95 _LOG(log, !at_fault, " %s %s\n", code_buffer, ascii_buffer);
104 log_t* log, pid_t tid, bool at_fault) { variable
132 _LOG(log, false, "\nmemory near %.2s:\n", &REG_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_ variable
[all...]
/system/core/init/
H A Dbootchart.c40 #define LOG_STAT LOG_ROOT"/proc_stat.log"
41 #define LOG_PROCS LOG_ROOT"/proc_ps.log"
42 #define LOG_DISK LOG_ROOT"/proc_diskstats.log"
171 /* create log file if needed */
185 do_log_uptime(FileBuff log) argument
201 file_buff_write(log, buff, len);
207 do_log_ln(FileBuff log) argument
209 file_buff_write(log, "\n", 1);
214 do_log_file(FileBuff log, const char* procfile) argument
219 do_log_uptime(log);
242 do_log_procs(FileBuff log) argument
[all...]

Completed in 75 milliseconds