Merge "Add feature recording critical timestamps to track to predump latency." into main
This commit is contained in:
commit
9b0da94086
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue