Support an API to extract backtrace information from taskdump #6309
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-taskdump
--cfg tokio_taskdump
Is your feature request related to a problem? Please describe.
Currently, the only supported output for taskdump is logging, as shown in the examples here. However, I would like to add a public API that can extract this backtrace information. By adding such an API, it will become possible to handle taskdump data programmatically, making it useful for various purposes.
Describe the solution you'd like
I would like to add a public API something like this:
We already have an internal struct named Tree, so I believe it's not too hard to provide such an API.
Additional context
related issue: #5638
The text was updated successfully, but these errors were encountered: