Commit ec15ad3d authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

use faster impl in Singleton stack traces

Summary: It's already not async-signal-safe so just use the fast version of getting the unsymbolized stack traces.

Reviewed By: chadaustin

Differential Revision: D29439597

fbshipit-source-id: 5a727d6a1c37a1c29bce84d866bf4863774c5ff1
parent c03e671e
...@@ -31,7 +31,7 @@ std::string getSingletonStackTrace() { ...@@ -31,7 +31,7 @@ std::string getSingletonStackTrace() {
auto addresses = auto addresses =
std::make_unique<symbolizer::FrameArray<kMaxStackTraceDepth>>(); std::make_unique<symbolizer::FrameArray<kMaxStackTraceDepth>>();
if (!getStackTraceSafe(*addresses)) { if (!getStackTrace(*addresses)) {
return ""; return "";
} else { } else {
symbolizer::ElfCache elfCache; symbolizer::ElfCache elfCache;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment