title: Profile Kernel Functions name: pf2.stp version: 1.0 author: anonymous keywords: profiling subsystem: any status: production exit: user-controlled output: sorted-list timed scope: system-wide description: The pf2.stp script sets up time-based sampling. Every five seconds it prints out a sorted list with the top ten kernel functions with samples. test_check: stap -p4 pf2.stp test_installcheck: stap pf2.stp -c "sleep 0.2"