a1aacb71f3
(cherry pick from commit ae4d928d81
)
- Add a klogd to collect the kernel logs and place them into a
new kernel log buffer
- Parse priority, tag and message from the kernel log messages.
- Turn off pruning for worst UID for the kernel log buffer
- Sniff for 'PM: suspend exit', 'PM: suspend enter' and
'Suspended for' messages and correct the internal definition
time correction against monotonic dynamically.
- Discern if we have monotonic or real time (delineation 1980) in
audit messages.
- perform appropriate math to correct the timestamp to be real time
- filter out any external sources of kernel logging
Change-Id: I8d4c7c5ac19f1f3218079ee3a05a50e2ca55f60d
25 lines
1.5 KiB
Text
25 lines
1.5 KiB
Text
The properties that logd responds to are:
|
|
|
|
name type default description
|
|
logd.auditd bool true Enable selinux audit daemon
|
|
logd.auditd.dmesg bool true selinux audit messages duplicated and
|
|
sent on to dmesg log
|
|
logd.klogd bool depends Enable klogd daemon
|
|
logd.statistics bool depends Enable logcat -S statistics.
|
|
ro.config.low_ram bool false if true, logd.statistics & logd.klogd
|
|
default false
|
|
ro.build.type string if user, logd.statistics & logd.klogd
|
|
default false
|
|
persist.logd.size number 256K default size of the buffer for all
|
|
log ids at initial startup, at runtime
|
|
use: logcat -b all -G <value>
|
|
persist.logd.size.main number 256K Size of the buffer for the main log
|
|
persist.logd.size.system number 256K Size of the buffer for the system log
|
|
persist.logd.size.radio number 256K Size of the buffer for the radio log
|
|
persist.logd.size.event number 256K Size of the buffer for the event log
|
|
persist.logd.size.crash number 256K Size of the buffer for the crash log
|
|
|
|
NB:
|
|
- number support multipliers (K or M) for convenience. Range is limited
|
|
to between 64K and 256M for log buffer sizes. Individual logs override the
|
|
global default.
|