diff options
| author | 2013-11-05 16:23:10 -0800 | |
|---|---|---|
| committer | 2013-11-12 10:42:48 -0800 | |
| commit | 6e9aeb6633e42bc7d2265f73de28e521e3fc9c21 (patch) | |
| tree | 22291e5e4069e620f3595b1f0c84fcd4433a554d /runtime/utils.cc | |
| parent | 08f20c63e2bd0c41d53a4c3ddaa34fd637f5405d (diff) | |
Update Backtrace::Create to use new define.
Change-Id: Ib345ef796c99d12fb3a4118f28edec7cbffa76d2
Diffstat (limited to 'runtime/utils.cc')
| -rw-r--r-- | runtime/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc index e039581b05..233990383c 100644 --- a/runtime/utils.cc +++ b/runtime/utils.cc @@ -1043,7 +1043,7 @@ static const char* CleanMapName(const char* map_name) { } void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix, bool include_count) { - UniquePtr<Backtrace> backtrace(Backtrace::Create(-1, tid)); + UniquePtr<Backtrace> backtrace(Backtrace::Create(BACKTRACE_CURRENT_PROCESS, tid)); if (!backtrace->Unwind(0)) { os << prefix << "(backtrace::Unwind failed for thread " << tid << ")\n"; return; |