msm8937-common: Remove perfd and update default value file path

Removing the code related to perfd. Update the path for default_value
file to vendor
partition from system.
This commit is contained in:
Varun Garg 2018-01-13 11:46:35 +00:00 committed by Isaac Chen
parent d1f2c50dd8
commit a9291ed549
2 changed files with 3 additions and 14 deletions

View file

@ -121,9 +121,6 @@ on enable-low-power
write /sys/block/dm-0/queue/read_ahead_kb 128 write /sys/block/dm-0/queue/read_ahead_kb 128
write /sys/block/dm-1/queue/read_ahead_kb 128 write /sys/block/dm-1/queue/read_ahead_kb 128
rm /data/system/perfd/default_values
start perfd
on class_start:late_start on class_start:late_start
trigger enable-low-power trigger enable-low-power

View file

@ -237,10 +237,9 @@ on post-fs-data
chmod 0770 /data/misc/fm chmod 0770 /data/misc/fm
# Create PERFD deamon related dirs # Create PERFD deamon related dirs
mkdir /data/system/perfd 0770 root system mkdir /data/vendor/perfd 0770 root system
chmod 2770 /data/system/perfd chmod 2770 /data/vendor/perfd
rm /data/system/perfd/default_values rm /data/vendor/perfd/default_values
start perfd
# Create IOP deamon related dirs # Create IOP deamon related dirs
mkdir /data/misc/iop 0770 root system mkdir /data/misc/iop 0770 root system
@ -274,13 +273,6 @@ on post-fs-data
mkdir /data/misc/sensors mkdir /data/misc/sensors
chmod 0775 /data/misc/sensors chmod 0775 /data/misc/sensors
service perfd /system/vendor/bin/perfd
class main
user root
group root readproc
disabled
socket perfd seqpacket 0666 root system
on property:sys.boot_completed=1 on property:sys.boot_completed=1
write /dev/kmsg "Boot completed " write /dev/kmsg "Boot completed "
# Reset read ahead for dm-0 and dm-1 to 512kb # Reset read ahead for dm-0 and dm-1 to 512kb