-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement task dumps for current-thread runtime. #5608
Commits on Apr 12, 2023
-
tokio: introduce
Handle::dump
and impl for current-thread runtimeTask dumps are snapshots of runtime state. Taskdumps are collected by instrumenting Tokio's leaves to conditionally collect backtraces, which are then coalesced per-task into execution tree traces. This initial implementation only supports collecting taskdumps from within the context of a current-thread runtime, and only `yield_now()` is instrumented.
Configuration menu - View commit details
-
Copy full SHA for 1222dfb - Browse repository at this point
Copy the full SHA 1222dfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9aa093 - Browse repository at this point
Copy the full SHA d9aa093View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66cd9c9 - Browse repository at this point
Copy the full SHA 66cd9c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 206b3d4 - Browse repository at this point
Copy the full SHA 206b3d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b998f74 - Browse repository at this point
Copy the full SHA b998f74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a727a1 - Browse repository at this point
Copy the full SHA 8a727a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80dbaf7 - Browse repository at this point
Copy the full SHA 80dbaf7View commit details -
tokio: limit taskdumps to linux
Taskdumps depend on backtrace-rs, whose unwinding behavior is platform-dependent. Taskdumps should not be enabled on a platform without first assessing and mitigating platform-dependent behavior. ref: https://github.com/tokio-rs/tokio/pull/5608/files#r1162746834
Configuration menu - View commit details
-
Copy full SHA for c132b33 - Browse repository at this point
Copy the full SHA c132b33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c86604 - Browse repository at this point
Copy the full SHA 9c86604View commit details -
Configuration menu - View commit details
-
Copy full SHA for 306a547 - Browse repository at this point
Copy the full SHA 306a547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 725bf3f - Browse repository at this point
Copy the full SHA 725bf3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c20af63 - Browse repository at this point
Copy the full SHA c20af63View commit details -
tokio: bump
backtrace-rs
version to 0.3.58This version gives us `From<Frame> for BacktraceFrame`.
Configuration menu - View commit details
-
Copy full SHA for 52c8ca9 - Browse repository at this point
Copy the full SHA 52c8ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fdc01e1 - Browse repository at this point
Copy the full SHA fdc01e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 144f378 - Browse repository at this point
Copy the full SHA 144f378View commit details -
tokio: limit taskdumps to specific, blessed platforms
Taskdumps depend on backtrace-rs, whose unwinding behavior is platform-dependent. Taskdumps should not be enabled on a platform without first assessing and mitigating platform-dependent behavior. ref: https://github.com/tokio-rs/tokio/pull/5608/files#r1162746834
Configuration menu - View commit details
-
Copy full SHA for c824389 - Browse repository at this point
Copy the full SHA c824389View commit details
Commits on Apr 13, 2023
-
tokio: compile_error when
taskdump
feature is unsupportedNamely, when it is used without `--cfg tokio_unstable`, or when it is used on an unsupported target.
Configuration menu - View commit details
-
Copy full SHA for 0c655bb - Browse repository at this point
Copy the full SHA 0c655bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 578c3c4 - Browse repository at this point
Copy the full SHA 578c3c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac7fa6b - Browse repository at this point
Copy the full SHA ac7fa6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a246b11 - Browse repository at this point
Copy the full SHA a246b11View commit details -
tokio: don't cross-test with
--cfg tokio_taskdump
I don't know how to conditionally only set this cfg on supported platforms, yet. We *should* be testing on these platforms, though.
Configuration menu - View commit details
-
Copy full SHA for a62f9ee - Browse repository at this point
Copy the full SHA a62f9eeView commit details
Commits on Apr 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f695499 - Browse repository at this point
Copy the full SHA f695499View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb6990f - Browse repository at this point
Copy the full SHA bb6990fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d15f0 - Browse repository at this point
Copy the full SHA 51d15f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 178bf74 - Browse repository at this point
Copy the full SHA 178bf74View commit details
Commits on Apr 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a8d240 - Browse repository at this point
Copy the full SHA 0a8d240View commit details
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b6d093a - Browse repository at this point
Copy the full SHA b6d093aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ff355b - Browse repository at this point
Copy the full SHA 1ff355bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e0dd91 - Browse repository at this point
Copy the full SHA 9e0dd91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a5e7fa - Browse repository at this point
Copy the full SHA 9a5e7faView commit details
Commits on Apr 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f536db5 - Browse repository at this point
Copy the full SHA f536db5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cda94 - Browse repository at this point
Copy the full SHA d3cda94View commit details
Commits on Apr 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a29974d - Browse repository at this point
Copy the full SHA a29974dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51f970f - Browse repository at this point
Copy the full SHA 51f970fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a8dceb - Browse repository at this point
Copy the full SHA 8a8dcebView commit details -
Configuration menu - View commit details
-
Copy full SHA for b0b1160 - Browse repository at this point
Copy the full SHA b0b1160View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8318d93 - Browse repository at this point
Copy the full SHA 8318d93View commit details
Commits on Apr 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0dc4b68 - Browse repository at this point
Copy the full SHA 0dc4b68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04bd5e1 - Browse repository at this point
Copy the full SHA 04bd5e1View commit details