summaryrefslogtreecommitdiffstats
path: root/init/log.cpp
Commit message (Collapse)AuthorAgeFilesLines
* logging: avoid unnecessary printfsNick Kralevich2016-01-161-0/+2
| | | | | | | Don't spend CPU cycles formatting a bunch of strings if we're just going to throw them away later. Maybe make booting faster. Change-Id: I4d8eb99fb3fa873ca91cf776933d0ad01988abf5
* Track rename of base/ to android-base/.Elliott Hughes2015-12-041-1/+1
| | | | Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf
* Clean up init /proc/cmdline handling.Elliott Hughes2015-05-071-12/+17
| | | | | | | | Helped debug a problem where the N9 bootloader incorrectly concatenated the various command lines. Bug: http://b/20906691 Change-Id: I0580b06f4185129c7eedf0bdf74b5ce17f88bf9c
* Log more timing information from init.Elliott Hughes2015-03-281-0/+62
Also make important events in init's life NOTICE rather than INFO, and ensure that NOTICE events actually make it to the kernel log. Also fix the logging so that if you have a printf format string error, the compiler now catches it. Also give messages from init, ueventd, and watchdogd distinct tags. (Previously they'd all call themselves "init", and dmesg doesn't include pids, so you couldn't untangle them.) Also include the tag in SELinux messages. Bug: 19544788 Change-Id: Ica6daea065bfdb80155c52c0b06f346a7df208fe