Activate the specified AsyncStackFrame on the specified AsyncStackRoot, setting it as the current 'topFrame'.
Declared in <folly/tracing/AsyncStack.h>
void
activateAsyncStackFrame(
folly::AsyncStackRoot& root,
folly::AsyncStackFrame& frame) noexcept;
The AsyncStackRoot must be the current thread's top-most AsyncStackRoot and it must not currently have an active 'topFrame'.
This is typically called immediately prior to executing a callback that resumes the async operation represented by 'frame'.
| Name | Description |
|---|---|
| root | The current thread's top-most stack root. |
| frame | The frame to activate as the top frame. |