diff options
author | Christopher Ferris <cferris@google.com> | 2014-01-06 19:16:33 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2014-01-08 15:32:28 -0800 |
commit | 9846497f7926fc3240c2893d89e60880c22d1fd6 (patch) | |
tree | d137d0957607cbdf211f6323516a8b8968004c7a /libbacktrace/BacktraceThread.h | |
parent | 0afaf7f4dde98ff554b69d05ed87ceab4ec611aa (diff) | |
download | system_core-9846497f7926fc3240c2893d89e60880c22d1fd6.zip system_core-9846497f7926fc3240c2893d89e60880c22d1fd6.tar.gz system_core-9846497f7926fc3240c2893d89e60880c22d1fd6.tar.bz2 |
Refactor to share map_info amongst threads.
Allow the use of the same map info to be shared when getting information on
multiple threads from the same pid.
Change-Id: I2e460e20154a10f4894ae563331fb32179e4551f
Diffstat (limited to 'libbacktrace/BacktraceThread.h')
-rw-r--r-- | libbacktrace/BacktraceThread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbacktrace/BacktraceThread.h b/libbacktrace/BacktraceThread.h index 8ed1122..bcb56c9 100644 --- a/libbacktrace/BacktraceThread.h +++ b/libbacktrace/BacktraceThread.h @@ -71,7 +71,8 @@ public: // the compiler to catch if an implementation does not properly // subclass both. BacktraceThread( - BacktraceImpl* impl, BacktraceThreadInterface* thread_intf, pid_t tid); + BacktraceImpl* impl, BacktraceThreadInterface* thread_intf, pid_t tid, + backtrace_map_info_t* map_info); virtual ~BacktraceThread(); virtual bool Unwind(size_t num_ignore_frames); |