Defaultly enable cpu idle histogram stats collection for dumpstate.
This change is to allow the CPU Idle Histogram Stats to be dumped in bugreports so that there is more insight into the idle behavior of devices in the field. Test: Build/Flash Test: Collect histogram log Bug: 344908619 Flag: EXEMPT bugfix Change-Id: Ib6e4772737a8c1f22ac8ba31c40099baeab43853 Signed-off-by: Vishvam Mazumdar <vmazumdar@google.com>
This commit is contained in:
parent
905072c846
commit
569092bc54
1 changed files with 3 additions and 0 deletions
|
@ -360,6 +360,9 @@ on init
|
||||||
chown root system /sys/devices/platform/16490000.gsa-ns/log_main
|
chown root system /sys/devices/platform/16490000.gsa-ns/log_main
|
||||||
chown root system /sys/devices/platform/16490000.gsa-ns/log_intermediate
|
chown root system /sys/devices/platform/16490000.gsa-ns/log_intermediate
|
||||||
|
|
||||||
|
# Enable CPU Idle histograms
|
||||||
|
write /sys/kernel/metrics/cpuidle_histogram/enable 1
|
||||||
|
|
||||||
on init && property:ro.boot.hardware.cpu.pagesize=4096
|
on init && property:ro.boot.hardware.cpu.pagesize=4096
|
||||||
write /sys/block/zram0/comp_algorithm lz77eh
|
write /sys/block/zram0/comp_algorithm lz77eh
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue