summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/process/sleepingBeauties.meta
blob: 3338edbf9d78c06e7806dcf1809d72a63e47501a (plain)
1
2
3
4
5
6
7
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 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 1"