Debian Codegraph @

testsuite/systemtap.examples/process/futexes2.meta

raw
1 title: System-Wide Shared Futex Contention
2 name: futexes2.stp
3 version: 1.0
4 author: jistone
5 keywords: syscall locking futex
6 subsystem: locking
7 status: production
8 exit: user-controlled
9 output: sorted-list on-exit
10 scope: system-wide
11 description: The script watches just shared futex syscalls on the system. On exit the futex's key, the number of contentions, and the average time for each contention on the futex are printed from lowest pid number to highest.
12 test_support: stap -l 'kernel.function("futex_wait_setup")'
13 test_check: stap -p4 futexes2.stp
14 test_installcheck: stap futexes2.stp -T 1