We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a4a08e commit c46109fCopy full SHA for c46109f
1 file changed
src/executor/wall_time/perf/mod.rs
@@ -96,6 +96,12 @@ impl PerfRunner {
96
// Infer the unwinding mode from the benchmark cmd
97
let (cg_mode, stack_size) = if let Some(mode) = config.perf_unwinding_mode {
98
(mode, None)
99
+ } else if config.command.contains("gradle")
100
+ || config.command.contains("java")
101
+ || config.command.contains("maven")
102
+ {
103
+ // In Java, we must use FP unwinding otherwise we'll have broken call stacks.
104
+ (UnwindingMode::FramePointer, None)
105
} else if config.command.contains("cargo") {
106
(UnwindingMode::Dwarf, None)
107
} else if config.command.contains("pytest")
0 commit comments