diff options
author | Lassi Tuura <lat@iki.fi> | 2011-03-19 10:00:48 +0100 |
---|---|---|
committer | Arun Sharma <asharma@fb.com> | 2011-03-24 22:33:17 -0700 |
commit | 9e98f15e9aee12e67cd5956d06ccb559f6a06213 (patch) | |
tree | 5131aa7120043dab6da38f6765514858d31f9b23 /include/libunwind-hppa.h | |
parent | 6c1a58fd06eea3a45c6de38eb5d1f79f636bb8d5 (diff) | |
download | libunwind-9e98f15e9aee12e67cd5956d06ccb559f6a06213.tar.gz |
Fast back-trace for x86_64 for only collecting the call stack.
Adds new function to perform a pure stack walk without unwinding,
functionally similar to backtrace() but accelerated by an address
attribute cache the caller maintains across calls.
Diffstat (limited to 'include/libunwind-hppa.h')
-rw-r--r-- | include/libunwind-hppa.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libunwind-hppa.h b/include/libunwind-hppa.h index 74ea70da..e28fcaaf 100644 --- a/include/libunwind-hppa.h +++ b/include/libunwind-hppa.h @@ -103,6 +103,12 @@ unw_tdep_save_loc_t; /* On PA-RISC, we can directly use ucontext_t as the unwind context. */ typedef ucontext_t unw_tdep_context_t; +typedef struct + { + /* no hppa-specific fast trace */ + } +unw_tdep_frame_t; + #define unw_tdep_is_fpreg(r) ((unsigned) ((r) - UNW_HPPA_FR) < 32) #include "libunwind-dynamic.h" @@ -118,6 +124,10 @@ unw_tdep_proc_info_t; #define unw_tdep_getcontext UNW_ARCH_OBJ (getcontext) extern int unw_tdep_getcontext (unw_tdep_context_t *); +#define unw_tdep_make_frame_cache(n) (0) +#define unw_tdep_free_frame_cache(p) do {} while(0) +#define unw_tdep_trace(cur,addr,n,c) (-UNW_ENOINFO) + #if defined(__cplusplus) || defined(c_plusplus) } #endif |