blob: fd5bf541961e285b275b5fd665f58025a3864a26 [file] [log] [blame]
service profcollectd /system/bin/profcollectd
class late_start
disabled
oneshot
user root
group root shell wakelock
task_profiles ServiceCapacityLow
on property:persist.device_config.profcollect_native_boot.enabled=true
start profcollectd
on property:persist.profcollectd.enabled_override=true
start profcollectd
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