getAsyncStackTraceSafe overloads
Declared in <folly/debugging/symbolizer/StackTrace.h>
Capture the current async stack trace into fa, async-signal-safely.
template<size_t N>
bool
getAsyncStackTraceSafe(FrameArray<N>& fa);
» more...
Get the current async stack trace into addresses, which has room for at least maxAddresses frames. If no async operation is progress, then this will write 0 frames.
ssize_t
getAsyncStackTraceSafe(
uintptr_t* addresses,
size_t maxAddresses);
» more...
| Name | Description |
|---|---|
| fa | The frame array to fill. |
| addresses | Output buffer for the captured frame addresses. |
| maxAddresses | Capacity of the addresses buffer, in frames. |