summaryrefslogtreecommitdiffstats
path: root/libbacktrace/BacktraceThread.h
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-01-06 19:16:33 -0800
committerChristopher Ferris <cferris@google.com>2014-01-08 15:32:28 -0800
commit9846497f7926fc3240c2893d89e60880c22d1fd6 (patch)
treed137d0957607cbdf211f6323516a8b8968004c7a /libbacktrace/BacktraceThread.h
parent0afaf7f4dde98ff554b69d05ed87ceab4ec611aa (diff)
downloadsystem_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.h3
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);