summaryrefslogtreecommitdiffstats
path: root/debuggerd/backtrace.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2013-10-21 13:30:52 -0700
committerChristopher Ferris <cferris@google.com>2013-10-28 17:55:25 -0700
commit17e91d44edf5e6476a477a200bcd89d4327358a3 (patch)
tree947783229077133a7f467402607a72fe2047a7a7 /debuggerd/backtrace.h
parentf1296b9e92cb04f9bba8c622560d37dfc53c7aa4 (diff)
downloadcore-17e91d44edf5e6476a477a200bcd89d4327358a3.tar.gz
core-17e91d44edf5e6476a477a200bcd89d4327358a3.tar.bz2
core-17e91d44edf5e6476a477a200bcd89d4327358a3.zip
Rewrite libbacktrace using C++.
The old code was essentially trying to be C++ in C and was awkward. This change makes it all objects with a thin layer that C code can use. There is a C++ backtrace object that is not very useful, this code will replace it. This change also includes moving the backtrace test to a gtest, and adding coverage of all major functionality. Bug: 8410085 Change-Id: Iae0f1b09b3dd60395f71ed66010c1ea5cdd37841
Diffstat (limited to 'debuggerd/backtrace.h')
-rw-r--r--debuggerd/backtrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/debuggerd/backtrace.h b/debuggerd/backtrace.h
index 9d61e6ff6..54a60b29f 100644
--- a/debuggerd/backtrace.h
+++ b/debuggerd/backtrace.h
@@ -31,7 +31,7 @@ void dump_backtrace(int fd, int amfd, pid_t pid, pid_t tid, bool* detach_failed,
int* total_sleep_time_usec);
/* Dumps the backtrace in the backtrace data structure to the log. */
-void dump_backtrace_to_log(const backtrace_t* backtrace, log_t* log,
+void dump_backtrace_to_log(const backtrace_context_t* context, log_t* log,
int scope_flags, const char* prefix);
#endif // _DEBUGGERD_BACKTRACE_H