EXAMPLES/process/sched-latency.meta
raw| 1 | title: track wakeup-to-dispatch latency stats |
| 2 | name: sched-latency.stp |
| 3 | keywords: process scheduler time tracepoint |
| 4 | subsystem: scheduler |
| 5 | description: This script periodically reports a histogram of the latency between a task (thread) being woken up and it actually being dispatched to a CPU: the amount of time it's spent in the runnable queue. |
| 6 | test_support: stap -p4 sched-latency.stp |
| 7 | test_check: stap -p4 sched-latency.stp |
| 8 | test_installcheck: stap sched-latency.stp -T 7 |