Add coroutine-frame memory allocation hooks to enable identifying async...
Add coroutine-frame memory allocation hooks to enable identifying async coroutine allocations in traces Summary: Customises the coroutine-frame allocation for all async coroutine types to call through the new `folly_coro_async_malloc` and `folly_coro_async_free` functions when heap-allocating coroutine frames. This should allow the identification of samples/traces that are calling into memory allocation for allocating coroutine frames and should enable better quantification of the CPU cycles and memory usage attributable to coroutine-frame allocations by filtering to samples that contain these functions in their stack-traces. Reviewed By: davidtgoldblatt Differential Revision: D20929042 fbshipit-source-id: a94691377b92fab42736942ec8c7316c82a4205d
Showing
Please register or sign in to comment