Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 266) sorted by relevance

1234567891011

/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp44 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header() argument
45 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, get_timestamp().c_str()); in dump_process_header()
48 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", process_name); in dump_process_header()
50 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header()
53 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() argument
54 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer()
59 log_t log; in dump_backtrace_thread() local
60 log.tfd = output_fd; in dump_backtrace_thread()
61 log.amfd_data = nullptr; in dump_backtrace_thread()
63 _LOG(&log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread.thread_name.c_str(), thread.tid); in dump_backtrace_thread()
[all …]
Dtombstone.cpp75 static void dump_header_info(log_t* log) { in dump_header_info() argument
79 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint.c_str()); in dump_header_info()
80 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision.c_str()); in dump_header_info()
81 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info()
115 static void dump_probable_cause(log_t* log, const siginfo_t* si, unwindstack::Maps* maps, in dump_probable_cause() argument
147 if (!cause.empty()) _LOG(log, logtype::HEADER, "Cause: %s\n", cause.c_str()); in dump_probable_cause()
150 static void dump_signal_info(log_t* log, const ThreadInfo& thread_info, in dump_signal_info() argument
171 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s%s), fault addr %s\n", in dump_signal_info()
176 static void dump_thread_info(log_t* log, const ThreadInfo& thread_info) { in dump_thread_info() argument
181 log->should_retrieve_logcat = false; in dump_thread_info()
[all …]
Dgwp_asan.cpp101 void GwpAsanCrashData::DumpCause(log_t* log) const { in DumpCause()
108 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: Unknown error occurred at 0x%" PRIxPTR ".\n", in DumpCause()
114 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: %s at 0x%" PRIxPTR ".\n", error_string_, in DumpCause()
124 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: %s on a %zu-byte allocation at 0x%" PRIxPTR "\n", in DumpCause()
155 _LOG(log, logtype::HEADER, in DumpCause()
170 void GwpAsanCrashData::DumpDeallocationTrace(log_t* log, unwindstack::Unwinder* unwinder) const { in DumpDeallocationTrace() argument
179 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread <unknown>:\n"); in DumpDeallocationTrace()
181 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %" PRIu64 ":\n", thread_id); in DumpDeallocationTrace()
188 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpDeallocationTrace()
197 void GwpAsanCrashData::DumpAllocationTrace(log_t* log, unwindstack::Unwinder* unwinder) const { in DumpAllocationTrace() argument
[all …]
Dutility.cpp71 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() argument
74 _VLOG(log, ltype, fmt, ap); in _LOG()
79 void _VLOG(log_t* log, enum logtype ltype, const char* fmt, va_list ap) { in _VLOG() argument
80 bool write_to_tombstone = (log->tfd != -1); in _VLOG()
82 && log->crashed_tid != -1 in _VLOG()
83 && log->current_tid != -1 in _VLOG()
84 && (log->crashed_tid == log->current_tid); in _VLOG()
93 TEMP_FAILURE_RETRY(write(log->tfd, msg.c_str(), msg.size())); in _VLOG()
98 if (log->amfd_data != nullptr) { in _VLOG()
99 *log->amfd_data += msg; in _VLOG()
[all …]
Dscudo.cpp79 void ScudoCrashData::DumpCause(log_t* log, unwindstack::Unwinder* unwinder) const { in DumpCause() argument
81 _LOG(log, logtype::HEADER, in DumpCause()
89 DumpReport(&error_info_.reports[report_num++], log, unwinder); in DumpCause()
93 void ScudoCrashData::DumpReport(const scudo_error_report* report, log_t* log, in DumpReport() argument
133 _LOG(log, logtype::HEADER, in DumpReport()
139 _LOG(log, logtype::BACKTRACE, "\nallocated by thread %u:\n", report->allocation_tid); in DumpReport()
145 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpReport()
150 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %u:\n", report->deallocation_tid); in DumpReport()
156 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpReport()
/system/security/keystore/
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 "saw with no argument"
[all …]
/system/update_engine/scripts/
Dtest_paycheck.sh67 log() { function
72 log "$@"
134 log "Checking payloads..."
138 log "Done"
142 log "Initiating application of payloads at $tmpdir"
144 log "Applying old full payload..."
147 log "Done"
149 log "Applying new full payload..."
152 log "Done"
154 log "Applying delta payload to old partitions..."
[all …]
/system/core/bootstat/
Dbootstat.rc10 mkdir /data/misc/bootstat 0700 system log
12 # root.root to system.log, may be deleted after ota has settled.
13 chown system log /data/misc/bootstat/absolute_boot_time
14 chown system log /data/misc/bootstat/boot_complete
15 chown system log /data/misc/bootstat/boot_complete_no_encryption
16 chown system log /data/misc/bootstat/boot_reason
17 chown system log /data/misc/bootstat/boottime.bootloader.1BLE
18 chown system log /data/misc/bootstat/boottime.bootloader.1BLL
19 chown system log /data/misc/bootstat/boottime.bootloader.2BLE
20 chown system log /data/misc/bootstat/boottime.bootloader.2BLL
[all …]
/system/extras/cppreopts/
Dcppreopts.sh28 log -p w -t cppreopts "Unable to copy file ${source_file} to ${temp_dest_name}!"
30 log -p i -t cppreopts "Copied file from ${source_file} to ${temp_dest_name}"
33 log -p w -t cppreopts "Unable to rename temporary file from ${temp_dest_name} to ${dest_name}"
34 … rm ${temp_dest_name} || log -p w -t cppreopts "Unable to remove temporary file ${temp_dest_name}"
37 log -p i -t cppreopts "Renamed temporary file from ${temp_dest_name} to ${dest_name}"
47log -p i -t cppreopts "system_other partition does not appear to have been built to contain preopt…
51 log -p i -t cppreopts "cppreopts from ${mountpoint}"
59 log -p i -t cppreopts "Unable to figure out destination for ${file}"
69 log -p e -t cppreopts "Usage: cppreopts <preopts-mount-point>"
Dpreloads_copy.sh26 log -p i -t preloads_copy "Copying from $mountpoint/preloads"
33 log -p i -t preloads_copy "Copying complete"
36 log -p e -t preloads_copy "Usage: preloads_copy.sh <system_other-mount-point>"
/system/core/logd/
Dlogtagd.rc2 # logtagd event log tag service (debug only)
5 mkdir /data/misc/logd 0750 logd log
6 write /data/misc/logd/event-log-tags ""
7 chown logd log /data/misc/logd/event-log-tags
8 chmod 0600 /data/misc/logd/event-log-tags
9 restorecon /data/misc/logd/event-log-tags
DREADME.property28 all log ids at initial startup, at
32 known to not scale well under log spam
34 resist increasing the log buffer.
35 persist.logd.size.<buffer> number ro Size of the buffer for <buffer> log
47 log.tag string persist The global logging level, VERBOSE,
51 persist.log.tag string build default for log.tag
52 log.tag.<tag> string persist The <tag> specific logging level.
53 persist.log.tag.<tag> string build default for log.tag.<tag>
55 logd.buffer_type string (empty) Set the log buffer type. Current choices are 'simple',
66 to between 64K and 256M for log buffer sizes. Individual log buffer ids
/system/core/rootdir/
Dasan_extract.sh36 log -p i -t asan_install "Pre-decrypt FDE detected (by vold property)!"
42 log -p i -t asan_install "Pre-decrypt FDE detected (by /data size)!"
49 log -p i -t asan_install "Did not find $SRC!"
53 log -p i -t asan_install "Found $SRC, checking whether we need to apply it."
61 log -p i -t asan_install "Checksums match, nothing to be done here."
71 log -p i -t asan_install "Untarring $SRC..."
84 log -p i -t asan_install "Fixed selinux labels..."
93 log -p i -t asan_install "Signaling init to reboot..."
/system/core/libunwindstack/
DArmExidx.cpp41 log(log_indent_, log_str.c_str()); in LogRawData()
70 log(log_indent_, "Raw Data: 0x00 0x00 0x00 0x01"); in ExtractEntryData()
72 log(log_indent_, "[cantunwind]"); in ExtractEntryData()
198 log(log_indent_, "Refuse to unwind"); in DecodePrefix_10_00()
219 log(log_indent_, "%s}", msg.c_str()); in DecodePrefix_10_00()
267 log(log_indent_, "[Reserved]"); in DecodePrefix_10_01()
275 log(log_indent_, "vsp = r%d", bits); in DecodePrefix_10_01()
303 log(log_indent_, "%s, r14}", msg.c_str()); in DecodePrefix_10_10()
305 log(log_indent_, "%s}", msg.c_str()); in DecodePrefix_10_10()
353 log(log_indent_, "finish"); in DecodePrefix_10_11_0000()
[all …]
DDwarfCfa.cpp96 log(0, "restore while processing cie"); in GetLocationInfo()
200 log(indent, "DW_CFA_offset register(%d) %" PRId64, reg, offset); in LogOffsetRegisterString()
201 log(indent, "%s", raw_data.c_str()); in LogOffsetRegisterString()
211 log(indent, "Illegal (Only valid on aarch64)"); in LogInstruction()
213 log(indent, "Illegal"); in LogInstruction()
215 log(indent, "Raw Data: 0x%02x", op); in LogInstruction()
242 log(indent, "%s", log_string.c_str()); in LogInstruction()
256 log(indent, "%s", raw_data.c_str()); in LogInstruction()
265 log(indent, "%s", raw_data.c_str()); in LogInstruction()
270 log(indent + 1, "%s", line.c_str()); in LogInstruction()
[all …]
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/
Dnative-lib.cpp26 static void log(const char* msg) { in log() function
37 log("start recording"); in ProfileThreadFunc()
41 log("pause recording"); in ProfileThreadFunc()
44 log("resume recording"); in ProfileThreadFunc()
48 log("stop recording"); in ProfileThreadFunc()
50 log("stop recording successfully"); in ProfileThreadFunc()
88 log("failed to create profile thread"); in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode()
93 log("failed to create busy thread"); in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode()
DCMakeLists.txt15 log-lib
16 log)
21 ${log-lib})
/system/bt/gd/
Dsetup.py17 from distutils import log
58log.log(log.INFO, "Changed file mode of %s from %s to %s" % (file, oct(current_mode), oct(new_mode…
74 self.announce('Reusing existing ACTS installation', log.WARN)
76 self.announce('Installing ACTS for installation', log.WARN)
78 self.announce('ACTS installed for installation.', log.WARN)
/system/media/audio_utils/tests/
Dpowerlog_tests.cpp45 plog->log(&half, 1 /* frame */, 0 /* nowNs */); in TEST()
46 plog->log(&half, 1 /* frame */, 1 /* nowNs */); in TEST()
47 plog->log(&half, 1 /* frame */, 2 /* nowNs */); in TEST()
52 plog->log(&zero, 1 /* frame */, 3 /* nowNs */); in TEST()
57 plog->log(&half, 1 /* frame */, 4 /* nowNs */); in TEST()
Dsimplelog_tests.cpp38 slog->log("Hello %d", nine); in TEST()
39 slog->log("World"); in TEST()
47 slog->log(oneSecond /* nowNs */, "Hello World %d", 10); in TEST()
48 slog->log(oneSecond * 2 /* nowNs */, "%s", "Goodbye"); in TEST()
Derrorlog_tests.cpp37 elog->log(1 /* code */, 0 /* nowNs */); in TEST()
38 elog->log(2 /* code */, 1 /* nowNs */); in TEST()
44 elog->log(2 /* code */, oneSecond /* nowNs */); in TEST()
48 elog->log(2 /* code */, oneSecond * 2 /* nowNs */); in TEST()
/system/core/init/
Dbootchart.cpp93 static void log_uptime(FILE* log) { in log_uptime() argument
94 fprintf(log, "%lld\n", get_uptime_jiffies()); in log_uptime()
97 static void log_file(FILE* log, const char* procfile) { in log_file() argument
98 log_uptime(log); in log_file()
102 fprintf(log, "%s\n", content.c_str()); in log_file()
106 static void log_processes(FILE* log) { in log_processes() argument
107 log_uptime(log); in log_processes()
133 fputs(stat.c_str(), log); in log_processes()
137 fputc('\n', log); in log_processes()
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DTestHelper.java134 StringBuilder log = new StringBuilder(); in compile() local
135 log.append("Compilation failed!\n\n"); in compile()
137 log.append("Code: ").append(diagnostic.getCode()).append("\n"); in compile()
138 log.append("Kind: " + diagnostic.getKind() + "\n"); in compile()
139 log.append("Line: " + diagnostic.getLineNumber() + "\n"); in compile()
140 log.append("Column: " + diagnostic.getColumnNumber() + "\n"); in compile()
141 log.append("Source: " + diagnostic.getSource() + "\n"); in compile()
142 log.append("Message: " + diagnostic.getMessage(Locale.getDefault()) + "\n"); in compile()
144 fail(log.toString()); in compile()
/system/extras/boottime_tools/bootanalyze/
DREADME.md8 stop_event: <logcat log message which will terminate log collection after reboot>
10 event1_name: <pattern that matches log message>
15 be present in dmesg log after clock correction.
/system/apex/tests/testdata/
Dtrigger_watchdog.sh5 /system/bin/log -t TriggerWatchdog "Checking for presence of $apex"
9 /system/bin/log -t TriggerWatchdog "Detected presence of $apex"
10 /system/bin/log -t TriggerWatchdog "KILLING SYSTEM SERVER"

1234567891011