tokio-dtrace 0.1.1

DTrace probes for Tokio
Documentation
1
2
3
4
5
6
7
8
#!/usr/sbin/dtrace -s
/*
 * When a task is spawned, count the stack that spawned it.
 */
tokio$1:::task-spawn
{
    @tasks[ustack()] = count();
}