Fix m0reportbug to work on devvm
In devvm, m0reportbug was only packing m0traces.* files from
/var/motr/ and /var/motr/m0d-* paths, and it was not picking
the files from subdirectories of /var/motr/
Added the code in m0reportbug script to find m0traces.* files
from the relevant paths
@@ -753,6 +753,14 @@ m0traces() {
find $dir -type f -name m0trace.\* |
last_modified "${M0TRACES_M0D_MAX:-}"
done
+ find . -maxdepth 1 -type d -name m0u\* | while read dir; do
+ find $dir -type f -name m0trace.\* |
+ last_modified "${M0TRACES_MAX:-}"
+ done
+ find . -maxdepth 1 -type d -name systest-\* | while read dir; do
+ find $dir -type f -name m0trace.\* |
+ last_modified "${M0TRACES_MAX:-}"
+ done
} | cut -c3- | sort -u | while read path; do
_tracedump $path $outdir
done)
