Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > e2ec330d3ecf5110b4aa890342e53d96 > files > 947

systemtap-client-2.1-2.fc17.i686.rpm

title: System-Wide Futex Contention
name: futexes.stp
version: 1.0
author: anonymous
keywords: syscall locking futex
subsystem: locking
status: production
exit: user-controlled
output: sorted-list on-exit
scope: system-wide
description: The script watches the futex syscall on the system. On exit the futexes address, the number of contentions, and the average time for each contention on the futex are printed from lowest pid number to highest.
test_check: stap -p4 futexes.stp
test_installcheck: stap futexes.stp -c "sleep 0.2"