You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
423 B

filename="bloat_log_"`date -Iminutes`".txt"
for i in `find examples -name "*.rs"`; do
name=$(echo $i | sed -e "s,examples/,,g" -e "s,\.rs,,g")
echo "Processing example $name"
echo >>$filename
echo "Bloat for example $name" >>$filename
cargo bloat --release --features=stm32f042,rt --example $name >>$filename
echo "Captures bloat for all examples into $filename"