Skip to content

Commit

Permalink
comm_startup_lat: copy trace before cleaning
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Valente <[email protected]>
  • Loading branch information
Algodev-github committed Apr 2, 2020
1 parent 959c130 commit 770f63c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions comm_startup_lat/comm_startup_lat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ function clean_and_exit {
fi
shutdwn 'fio iostat'
cd ..
# rm work dir
if [ -f results-${sched}/trace ]; then
cp -f results-${sched}/trace .
fi
rm -rf results-$sched
rm -f Stop-iterations current-pid # remove possible garbage
if [[ "$XHOST_CONTROL" != "" ]]; then
Expand Down

0 comments on commit 770f63c

Please sign in to comment.