Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 2b12d0199a2bbc4a02ef3834d926ac4a > files > 51

systemtap-client-1.8-6.el5.x86_64.rpm

title: Count Specified Events
name: eventcount.stp
version: 1.0
author: Lukas Berk
keywords: statistics thread process
subsystem: none
status: production
exit: user-controlled
output: batch on-exit
scope: system-wide
description: The script prints a count of specified events and their related tid's over the course of execution.  Numerous configuration options exist to control filtering / reporting, see the script source.
test_check: stap -p4 eventcount.stp
test_installcheck: stap eventcount.stp syscall.* -c 'sleep 0.2'