Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > fe7c341633b7d979ab8178b22304d6b5 > files > 174

systemtap-1.3-1.1.mga1.i586.rpm

title: Generating Backtraces of Threads Waiting for IO Operations
name: sleepingBeauties.stp
keywords: io scheduler backtrace
subsystem: scheduler
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.
test_check: stap -p4 sleepingBeauties.stp
test_installcheck: stap sleepingBeauties.stp -c "sleep 0.2"