blob: 404f576d0446ba2e6b21f3b67010e24250f9f1d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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"
|