1# eng default for ro.llk.enable and ro.khungtask.enable 2on property:ro.debuggable=* 3 setprop llk.enable ${ro.llk.enable:-0} 4 setprop khungtask.enable ${ro.khungtask.enable:-0} 5 6on property:ro.llk.enable=true 7 setprop llk.enable true 8 9on property:llk.enable=1 10 setprop llk.enable true 11 12on property:llk.enable=0 13 setprop llk.enable false 14 15on property:ro.khungtask.enable=true 16 setprop khungtask.enable true 17 18on property:khungtask.enable=1 19 setprop khungtask.enable true 20 21on property:khungtask.enable=0 22 setprop khungtask.enable false 23 24# Configure [khungtaskd] 25on property:khungtask.enable=true 26 write /proc/sys/kernel/hung_task_timeout_secs ${ro.khungtask.timeout:-720} 27 write /proc/sys/kernel/hung_task_warnings 65535 28 write /proc/sys/kernel/hung_task_check_count 65535 29 write /proc/sys/kernel/hung_task_panic 1 30 31on property:khungtask.enable=false 32 write /proc/sys/kernel/hung_task_panic 0 33 34on property:llk.enable=true 35 start llkd-${ro.debuggable:-0} 36 37service llkd-0 /system/bin/llkd 38 class late_start 39 disabled 40 user llkd 41 group llkd readproc 42 capabilities KILL IPC_LOCK 43 file /dev/kmsg w 44 file /proc/sysrq-trigger w 45 task_profiles ServiceCapacityLow 46