firesim/utils/fireperf/gen-all-flamegraphs-fireper...

22 lines
198 B
Bash
Executable File

# $1 will be the directory
RDIR=$(pwd)
cd $1
FILESITER=$(ls */TRACEFILE*)
echo $FILESITER
cd $RDIR
for i in $FILESITER
do
echo $i
flamegraph-tracerv $1/$i $1/$i.svg &
done
wait
exit