Skip to content

Commit

Permalink
save blkparse output and remove raw blktrace data
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengguang Wu committed Apr 21, 2012
1 parent f77bab4 commit 9a45855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ log_end() {
grep . /sys/block/sd?/bdi/writeback_stats > writeback_stats
[ -s writeback_stats ] || rm writeback_stats
[ -f /proc/lock_stat ] && cat /proc/lock_stat > lock_stat
[ -f sda.blktrace.0 ] && blkparse sda
[ -f sda.blktrace.0 ] && { blkparse sda > sda.blktrace; rm sda.blktrace.*; }
cp /proc/config.gz .
find $MNT -type f \( -name zero-* -o -name f? \) | xargs ls -li > ls-files
find $MNT -type f \( -name zero-* -o -name f? \) | xargs rm &
Expand Down

0 comments on commit 9a45855

Please sign in to comment.