blob: d0a6ef2be370e37fd6e70ce321294d99f60db8aa (
plain)
1
2
3
4
5
6
|
#!/bin/bash
# This may be a brittle way to find $(root_dir)/utils/bin, is there a better way?
path=`dirname "$0"`
cmd="java -agentlib:hprof=cpu=samples,depth=100,interval=7,lineno=y,thread=y,file=output.hprof -cp ${path}/firrtl.jar firrtl.stage.FirrtlMain ${@:1}"
eval $cmd
|