You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
703 B

service profcollectd /system/bin/profcollectd
class late_start
disabled
oneshot
user root
group root shell wakelock
task_profiles ServiceCapacityLow
on post-fs-data
# Create directory for profcollectd.
mkdir /data/misc/profcollectd 0770 shell shell
mkdir /data/misc/profcollectd/trace 0770 shell shell
mkdir /data/misc/profcollectd/output 0770 shell shell
mkdir /data/misc/profcollectd/report 0770 shell shell
on boot && property:persist.device_config.profcollect_native_boot.enabled=true
start profcollectd
on boot && property:persist.device_config.profcollect_native_boot.enabled=
exec_background - root shell -- /system/bin/profcollectctl reset