Skip to content

Commit 141932b

Browse files
debug
1 parent d851c29 commit 141932b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/stackWalker.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,12 @@ int StackWalker::walkVM(void* ucontext, ASGCT_CallFrame* frames, int max_depth,
405405
}
406406
}
407407
} else {
408-
fillFrame(frames[depth++], BCI_NATIVE_FRAME, profiler->findNativeMethod(pc));
408+
auto find_native_method = profiler->findNativeMethod(pc);
409+
if (find_native_method && strstr(find_native_method, "_simd_"))
410+
{
411+
fprintf(stderr, "find_native_method: %s\n", find_native_method);
412+
}
413+
fillFrame(frames[depth++], BCI_NATIVE_FRAME, find_native_method);
409414
}
410415

411416
uintptr_t prev_sp = sp;

0 commit comments

Comments
 (0)