diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-09-04 01:37:00 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-09-04 01:37:00 +0000 |
commit | 439ddb8e72057fae22e28540fcce0293f56f6ffb (patch) | |
tree | 0c68638c2e0370c43827da04522e4ab49dfb3431 /lib/common/Utils.cpp | |
parent | 721f6243ab425318f819c8691410796e2dfef1c1 (diff) |
Increase built-in backtrace length from 10 to 20.
Helps track down missing network operation timeouts.
Diffstat (limited to 'lib/common/Utils.cpp')
-rw-r--r-- | lib/common/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Utils.cpp b/lib/common/Utils.cpp index a1647f11..f3541648 100644 --- a/lib/common/Utils.cpp +++ b/lib/common/Utils.cpp @@ -131,8 +131,8 @@ static std::string demangle(const std::string& mangled_name) void DumpStackBacktrace() { - void *array[10]; - size_t size = backtrace(array, 10); + void *array[20]; + size_t size = backtrace(array, 20); BOX_TRACE("Obtained " << size << " stack frames."); for(size_t i = 0; i < size; i++) |