1service profcollectd /system/bin/profcollectd 2 class late_start 3 disabled 4 oneshot 5 user root 6 group root wakelock 7 writepid /dev/cpuset/system-background/tasks 8 9on property:persist.device_config.profcollect_native_boot.enabled=true 10 start profcollectd 11 12on property:persist.profcollectd.enabled_override=true 13 start profcollectd 14 15on post-fs-data 16 # Create directory for profcollectd. 17 mkdir /data/misc/profcollectd 0770 root system 18 mkdir /data/misc/profcollectd/trace 0770 root system 19 mkdir /data/misc/profcollectd/output 0770 root system 20 mkdir /data/misc/profcollectd/report 0770 root system 21