Skip to content

Commit cfd6b35

Browse files
committed
Also apply fix in #102 for the JFR profiler
References #102
1 parent 319a3f6 commit cfd6b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/Profilers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ case object basic extends Profiler("basic") {
3535
def command(outDir: File): String = "-jvmArgs -Xprof -prof hs_comp -prof gc -prof stack -prof hs_rt -prof scala.tools.nsc.ThreadCpuTimeProfiler"
3636
}
3737
case object jfr extends Profiler("jfr") {
38-
def command(outDir: File): String = s"-prof jmh.extras.JFR:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true'"
38+
def command(outDir: File): String = s"""-prof "jmh.extras.JFR:dir=${outDir.getAbsolutePath};flameGraphOpts=$flameGraphOpts;verbose=true" """
3939
}
4040
sealed abstract class async(event: String) extends Profiler("async-" + event) {
4141
val framebuf = 33554432

0 commit comments

Comments
 (0)