]> sourceware.org Git - systemtap.git/commit
If available, use kernel's save_stack_trace_regs() for fallback stack unwind
authorWilliam Cohen <wcohen@redhat.com>
Mon, 4 Mar 2019 16:14:31 +0000 (11:14 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Mon, 4 Mar 2019 16:14:31 +0000 (11:14 -0500)
commit90ff34ac0506f0d5440393a4c78565f6aaf9b726
tree1e87c59316158286d2d27698d9ba42800f9e358d
parenta9b0aa4dbd1aa7a1c36eba8102e1445e8f2eb8b8
If available, use kernel's save_stack_trace_regs() for fallback stack unwind

When the dwarf information is unavailable SystemTap resorts to
alterntive mechanisms to unwinds the stack. Only the x86 kernels have
unwind_start(), unwind_done(), and unwind_get_return_address().  A
number of architectures including the s390, powerpc, and openrisc
currently export save_stack_trace_reg() and expect that this will be
available on additional architectures such as arm64 in the future.
Adding a test to check for the export of the function and use it where
possible.
buildrun.cxx
runtime/stack.c
This page took 0.027413 seconds and 5 git commands to generate.