We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88b7ba3 commit 8f7e4e1Copy full SHA for 8f7e4e1
src/profiler.cpp
@@ -1184,10 +1184,10 @@ Error Profiler::start(Arguments& args, bool reset) {
1184
if (_cstack == CSTACK_DEFAULT) {
1185
if (VMStructs::hasStackStructs()) {
1186
// Use VMStructs by default when possible
1187
- _cstack = CSTACK_VM;
+ _cstack = args._cstack = CSTACK_VM;
1188
} else if (VM::isOpenJ9() && DWARF_SUPPORTED) {
1189
// OpenJ9 libs are compiled with frame pointers omitted
1190
- _cstack = CSTACK_DWARF;
+ _cstack = args._cstack = CSTACK_DWARF;
1191
}
1192
1193
0 commit comments