From a9291ed549d52f2a42081b70913d0f00c8c1a69c Mon Sep 17 00:00:00 2001 From: Varun Garg Date: Sat, 13 Jan 2018 11:46:35 +0000 Subject: [PATCH] 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. --- rootdir/init.qcom.power.rc | 3 --- rootdir/init.qcom.rc | 14 +++----------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/rootdir/init.qcom.power.rc b/rootdir/init.qcom.power.rc index 7abc2e4..2e1c5fd 100644 --- a/rootdir/init.qcom.power.rc +++ b/rootdir/init.qcom.power.rc @@ -121,9 +121,6 @@ on enable-low-power write /sys/block/dm-0/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 trigger enable-low-power diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 5615e81..86d937b 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -237,10 +237,9 @@ on post-fs-data chmod 0770 /data/misc/fm # Create PERFD deamon related dirs - mkdir /data/system/perfd 0770 root system - chmod 2770 /data/system/perfd - rm /data/system/perfd/default_values - start perfd + mkdir /data/vendor/perfd 0770 root system + chmod 2770 /data/vendor/perfd + rm /data/vendor/perfd/default_values # Create IOP deamon related dirs mkdir /data/misc/iop 0770 root system @@ -274,13 +273,6 @@ on post-fs-data mkdir /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 write /dev/kmsg "Boot completed " # Reset read ahead for dm-0 and dm-1 to 512kb