Debian Codegraph @

EXAMPLES/process/sleepingBeauties.meta

raw
1 title: Generate Backtraces of Threads Waiting for IO Operations
2 name: sleepingBeauties.stp
3 version: 1.0
4 author: anonymous
5 keywords: io scheduler backtrace
6 subsystem: scheduler
7 status: proposed
8 exit: user-controlled
9 output: trace
10 scope: system-wide
11 description: The script monitors the time that threads spend in waiting for IO operations (in "D" state) in the wait_for_completion function. If a thread spends over 10ms, its name and backtrace is printed, and later so is the total delay.
12 test_check: stap -p4 sleepingBeauties.stp
13 test_installcheck: stap sleepingBeauties.stp -T 1