![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/root/opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/profiling/ |
title: Show the Period of the Various Timers on the System name: periodic.stp version: 1.0 author: William Cohen keywords: profiling subsystem: any status: production exit: user-controlled output: sorted-list scope: system-wide description: The periodic.stp script uses the kernel.trace("timer_expire_entry") tracepoint to collect data on period and frequency of the various timers on the system. The script displays a sorted list of the timers observed on the system from most frequent to least frequent. The script needs to be compiled with the '--all-modules' option to produce list the function names. Optionally, this script can be used with a numerical argument to indicate the interval in seconds between printing output. test_support: stap -l 'kernel.trace("timer_expire_entry")' test_check: stap -p4 --all-modules periodic.stp test_installcheck: stap periodic.stp --all-modules -T 1