aboutsummaryrefslogtreecommitdiff
path: root/utils/bin/firrtl-profiling
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bin/firrtl-profiling')
-rwxr-xr-xutils/bin/firrtl-profiling3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/bin/firrtl-profiling b/utils/bin/firrtl-profiling
index 5aa73e00..d0a6ef2b 100755
--- a/utils/bin/firrtl-profiling
+++ b/utils/bin/firrtl-profiling
@@ -2,6 +2,5 @@
# 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.Driver ${@:1}"
+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
-