https://bugs.kde.org/show_bug.cgi?id=502126

--- Comment #2 from Mark Wielaard <m...@klomp.org> ---
Created attachment 179822
  --> https://bugs.kde.org/attachment.cgi?id=179822&action=edit
Skip syscall_cancel frames

Proposed patch that for VGO_linux skips __syscall_cancel_arch,
__internal_syscall_cancel and __syscall_cancel if a backtrace is requested
while handling a syscall.

Tested on x86_64, ppc64le and s390x where it seems to work as intended.

Also tested in i386, where there is another frame __libc_do_syscall is in the
way and it looks like there is some tail call which prevents getting a
backtrace with the actual glibc function that called the syscall.

Testing on aarch64 also seems to miss the calling frame, but works otherwise.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to