diff options
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -28,6 +28,10 @@ #include <sys/time.h> #include <stdint.h> +#if defined(HAVE_LIBDW) +# include <elfutils/libdwfl.h> +#endif + #if defined(HAVE_LIBUNWIND) # include <libunwind.h> # include <libunwind-ptrace.h> @@ -114,6 +118,11 @@ struct process { short e_machine; char e_class; +#if defined(HAVE_LIBDW) + /* Unwind info for leader, NULL for non-leader procs. */ + Dwfl *dwfl; +#endif /* defined(HAVE_LIBDW) */ + #if defined(HAVE_LIBUNWIND) /* libunwind address space */ unw_addr_space_t unwind_as; |