Debian Codegraph @

testsuite/systemtap.examples/io/slowvfs.meta

raw
1 title: Trace slow vfs opens.
2 name: slowvfs.stp
3 keywords: io simple
4 description: This script prints a line for every kernel vfs_open operation that takes longer than a configurable number of microseconds. Highly contended or remote filesystems are likelier to hit this.
5 test_support: stap -l 'vfs.open.return'
6 test_check: stap -p4 slowvfs.stp
7 test_installcheck: stap slowvfs.stp -G sloth=10 -c 'find /proc >/dev/null || true'