diff options
author | 2011-10-19 20:32:43 -0700 | |
---|---|---|
committer | 2011-10-22 15:44:12 -0700 | |
commit | 044966aef3c9b58e798d624138ae21c85967ecb9 (patch) | |
tree | 84bb6ce0c1c991717a55d4e2d9a38895bd05a240 /include/utils/CallStack.h | |
parent | 3f06110dd0f0f72a38520482b85efa320f7be8e0 (diff) |
Use libcorkscrew for stack unwinding.
Change-Id: Iee1ee5a2018ab8cfc1ce12ec2a124809245eaa02
Diffstat (limited to 'include/utils/CallStack.h')
-rw-r--r-- | include/utils/CallStack.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/utils/CallStack.h b/include/utils/CallStack.h index 8817120effad..079e20c6962f 100644 --- a/include/utils/CallStack.h +++ b/include/utils/CallStack.h @@ -21,6 +21,7 @@ #include <sys/types.h> #include <utils/String8.h> +#include <corkscrew/backtrace.h> // --------------------------------------------------------------------------- @@ -61,11 +62,8 @@ public: size_t size() const { return mCount; } private: - // Internal helper function - String8 toStringSingleLevel(const char* prefix, int32_t level) const; - - size_t mCount; - const void* mStack[MAX_DEPTH]; + size_t mCount; + backtrace_frame_t mStack[MAX_DEPTH]; }; }; // namespace android |