testsuite/systemtap.examples/process/mutex-contention.meta
raw| 1 | title: pthread mutex contention analysis |
| 2 | name: mutex-contention.stp |
| 3 | keywords: locking |
| 4 | description: Tracks pthread-mutex initialization/use and underlying futex operations, to identify (with backtraces/symbol-names) the mutexes suffering most contention. Invoke with "-d SHLIB --ldd", perhaps with -DMAXMAPENTRIES=NNNN for some large NNNN, if the arrays overflow due to heavy activity. |
| 5 | test_check: stap -p4 mutex-contention.stp |
| 6 | test_installcheck: stap mutex-contention.stp -T 1 |