blob: 312c70038837c4ba842ef6205329c414d32b622a [file] [log] [blame]
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