init.qti.debug-kona: Update the command to enable cpu core hang detect

Update the echo string to use integer values instead of hex values for
enabling/disabling core hang detect.

Change-Id: Ie557875e3f8dd358e50649342b31b7d5b3829ab9
This commit is contained in:
Jeevan Shriram 2019-06-13 09:51:21 -07:00
parent 3e662183ba
commit 40cdb55172
1 changed files with 4 additions and 3 deletions

View File

@ -1223,9 +1223,10 @@ enable_kona_core_hang_config()
echo 0xffffffff > $CORE_PATH_SILVER/threshold echo 0xffffffff > $CORE_PATH_SILVER/threshold
echo 0xffffffff > $CORE_PATH_GOLD/threshold echo 0xffffffff > $CORE_PATH_GOLD/threshold
#To the enable core hang detection #To the enable core hang detection.
echo 0x1 > $CORE_PATH_SILVER/enable #It's a boolean variable. DO NOT USE HEX values to enable/disable.
echo 0x1 > $CORE_PATH_GOLD/enable echo 1 > $CORE_PATH_SILVER/enable
echo 1 > $CORE_PATH_GOLD/enable
} }
ftrace_disable=`getprop persist.debug.ftrace_events_disable` ftrace_disable=`getprop persist.debug.ftrace_events_disable`