Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 8e87fca2f49595adc16d9aa519a6edad > files > 213

systemtap-1.6-1.fc14.x86_64.rpm

title: Profile kernel functions
name: thread-times.stp
keywords: profiling
description: The thread-times.stp script sets up time-based sampling.  Every five seconds it prints out a sorted list with the top twenty threads occupying the CPUs, broken down as a percentage of user and kernel time.
test_check: stap -p4 thread-times.stp
test_installcheck: stap thread-times.stp -c "sleep 0.2"