We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d6deb commit a40b751Copy full SHA for a40b751
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