You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long polls and starved tasks can be tricky to identify. tokio-console as far as I understand is a great attempt to provide more insight into tokio's executor. However, it requires tracing. It's not always easy to start using tracing e.g. if it conflicts with glog, and requires non-trivial migration. I was thinking perhaps features similar to tokio-console, can be achieved with some static probes, and a bpftrace script. For example, a probe just before a call to poll on a future and right after it exits. I don't know much about tokio internals, so I come with a question, would this fly?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Long polls and starved tasks can be tricky to identify. tokio-console as far as I understand is a great attempt to provide more insight into tokio's executor. However, it requires
tracing
. It's not always easy to start using tracing e.g. if it conflicts withglog
, and requires non-trivial migration. I was thinking perhaps features similar totokio-console
, can be achieved with some static probes, and a bpftrace script. For example, a probe just before a call to poll on a future and right after it exits. I don't know much about tokio internals, so I come with a question, would this fly?Beta Was this translation helpful? Give feedback.
All reactions