We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2ae327 commit f6f943bCopy full SHA for f6f943b
1 file changed
src/pystack/_pystack/pythread.cpp
@@ -410,6 +410,8 @@ getThreadFromInterpreterState(
410
const std::shared_ptr<const AbstractProcessManager>& manager,
411
remote_addr_t addr)
412
{
413
+ // `tid_offset_in_pthread_struct` is only used in `inferTidFromPThreadStructure`, which is only
414
+ // needed for Python versions < 3.11.
415
if (tid_offset_in_pthread_struct == 0 && !manager->versionIsAtLeast(3, 11)) {
416
tid_offset_in_pthread_struct = findPthreadTidOffset(manager, addr);
417
}
0 commit comments