From d3028ba86bdfcd313b9b837b257908d3f5179a4c Mon Sep 17 00:00:00 2001 From: Tolya Korniltsev Date: Wed, 16 Aug 2023 14:03:30 +0700 Subject: [PATCH] fix jfr command --- agent/src/main/java/io/pyroscope/javaagent/Profiler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/src/main/java/io/pyroscope/javaagent/Profiler.java b/agent/src/main/java/io/pyroscope/javaagent/Profiler.java index d887e0f..5438ab2 100644 --- a/agent/src/main/java/io/pyroscope/javaagent/Profiler.java +++ b/agent/src/main/java/io/pyroscope/javaagent/Profiler.java @@ -113,7 +113,7 @@ private String createJFRCommand() { if (config.APLogLevel != null) { sb.append(",loglevel=").append(config.APLogLevel); } - sb.append("jstackdepth=").append(config.javaStackDepthMax); + sb.append(",jstackdepth=").append(config.javaStackDepthMax); if (config.APExtraArguments != null) { sb.append(",").append(config.APExtraArguments); }