diff options
author | Christopher Ferris <cferris@google.com> | 2014-05-09 16:33:12 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-09 16:33:12 +0000 |
commit | 3a088524cbd00c140c8fe043ce989ddcf28e7042 (patch) | |
tree | 4250dc81efc8976b18c69c46193a3917515c253a /include | |
parent | dc0ea8626f9b4eb40467d6fdde5e46540130bd1d (diff) | |
parent | a2efd3ac7abe223aa7a8ba8b5ba448216c4953b4 (diff) | |
download | system_core-3a088524cbd00c140c8fe043ce989ddcf28e7042.zip system_core-3a088524cbd00c140c8fe043ce989ddcf28e7042.tar.gz system_core-3a088524cbd00c140c8fe043ce989ddcf28e7042.tar.bz2 |
Merge "Rewrite unwind thread handling."
Diffstat (limited to 'include')
-rw-r--r-- | include/backtrace/Backtrace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/backtrace/Backtrace.h b/include/backtrace/Backtrace.h index 3c3a482..561dfeb 100644 --- a/include/backtrace/Backtrace.h +++ b/include/backtrace/Backtrace.h @@ -19,6 +19,7 @@ #include <inttypes.h> #include <stdint.h> +#include <ucontext.h> #include <string> #include <vector> @@ -64,7 +65,7 @@ public: virtual ~Backtrace(); // Get the current stack trace and store in the backtrace_ structure. - virtual bool Unwind(size_t num_ignore_frames); + virtual bool Unwind(size_t num_ignore_frames, ucontext_t* context = NULL); // Get the function name and offset into the function given the pc. // If the string is empty, then no valid function name was found. |