Merge "Add feature recording critical timestamps to track to predump latency." into main

This commit is contained in:
Treehugger Robot 2025-01-05 23:58:06 -08:00 committed by Android (Google) Code Review
commit 9b0da94086

View file

@ -4,6 +4,10 @@ DIR=/data/vendor/dump_touch
SCRIPT_DIR=/vendor/bin/dump_touch
LOCKFILE="$DIR"/dumping
LOGFILE="$DIR"/dump.log
DEBUG_START_TIME="$DIR"/start
DEBUG_END_TIME="$DIR"/end
date +%s%N > $DEBUG_START_TIME
if [ ! -f $LOCKFILE ]
then
@ -41,4 +45,4 @@ fi
echo 2 > $LOCKFILE
date +%s%N > $DEBUG_END_TIME