projects
/
xfstests-dev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e9cf89
)
Report on whether XFS was built debug or not for XFS benchmark runs
author
fsgqa
<fsgqa>
Fri, 19 Sep 2003 06:09:47 +0000
(06:09 +0000)
committer
fsgqa
<fsgqa>
Fri, 19 Sep 2003 06:09:47 +0000
(06:09 +0000)
bench
patch
|
blob
|
history
diff --git
a/bench
b/bench
index 968237f8c45dd1be7b10bf2692f2f5710bf6cbe5..30e2ab14a99b39fd756dcf2ada24314f88273877 100755
(executable)
--- a/
bench
+++ b/
bench
@@
-165,6
+165,13
@@
rm -f bench.* results.*
_full_fstyp_details()
{
[ -z "$FSTYP" ] && FSTYP=xfs
_full_fstyp_details()
{
[ -z "$FSTYP" ] && FSTYP=xfs
+ if [ $FSTYP = xfs ]; then
+ if grep 'debug 0' /proc/fs/xfs/stat >/dev/null; then
+ FSTYP="$FSTYP (non-debug)"
+ elif grep 'debug 1' /proc/fs/xfs/stat >/dev/null; then
+ FSTYP="$FSTYP (debug)"
+ fi
+ fi
echo $FSTYP
}
echo $FSTYP
}