diff options
author | Elliott Hughes <enh@google.com> | 2013-01-29 19:59:30 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-01-29 19:59:30 +0000 |
commit | 3db2fc5acb4894a2cb22533b165a0de1bbafc3f6 (patch) | |
tree | 016d232e99a12943587357bf8b10a3d25cb98b0e /libc/bionic/debug_stacktrace.h | |
parent | a0151cbfbaa37965dbcd188a55a78d3ad4802b9b (diff) | |
parent | 35b621c5f4c79959cd36fec0153c2c9c43ebe5f0 (diff) | |
download | android_bionic-3db2fc5acb4894a2cb22533b165a0de1bbafc3f6.tar.gz android_bionic-3db2fc5acb4894a2cb22533b165a0de1bbafc3f6.tar.bz2 android_bionic-3db2fc5acb4894a2cb22533b165a0de1bbafc3f6.zip |
Merge "Don't collect useless stack frames; do demangle C++ symbols."
Diffstat (limited to 'libc/bionic/debug_stacktrace.h')
-rw-r--r-- | libc/bionic/debug_stacktrace.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/libc/bionic/debug_stacktrace.h b/libc/bionic/debug_stacktrace.h index 800a172d9..2cf8636d1 100644 --- a/libc/bionic/debug_stacktrace.h +++ b/libc/bionic/debug_stacktrace.h @@ -32,14 +32,9 @@ #include <stdint.h> #include <sys/cdefs.h> -struct stack_crawl_state_t { - size_t count; - uintptr_t* addrs; -}; - -struct mapinfo_t; - -__LIBC_HIDDEN__ int get_backtrace(uintptr_t* stack_frames, size_t max_entries); -__LIBC_HIDDEN__ void log_backtrace(mapinfo_t* map_info, uintptr_t* stack_frames, size_t frame_count); +__LIBC_HIDDEN__ void backtrace_startup(); +__LIBC_HIDDEN__ void backtrace_shutdown(); +__LIBC_HIDDEN__ int get_backtrace(uintptr_t* stack_frames, size_t max_depth); +__LIBC_HIDDEN__ void log_backtrace(uintptr_t* stack_frames, size_t frame_count); #endif /* DEBUG_STACKTRACE_H */ |