commit | 432981b9055b411c4f4f1c5d6f60c94f8648c0b7 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Feb 22 19:42:53 2018 -0800 |
committer | Christopher Ferris <cferris@google.com> | Fri Feb 23 09:14:06 2018 -0800 |
tree | fdca6018896e96e0097ae4ad02de9f327af40510 | |
parent | cdf778f5d92ab8748897a4d95693524d3273c23a [diff] |
Modify the offline handling interface. - Add a new function Backtrace::UnwindOffline that takes the stack data. - Modify BacktraceMap::CreateOffline so it doesn't take the stack data. This makes it easier to reuse the map object created this way. Reusing the map object increases simpleperf speed (unwinds per second) by 50%. Test: backtrace_test libunwindstack_test Change-Id: I90cfbae9e50d95d8a0e3cd394b33ba36d65d45f7