HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System: Linux li317-225.members.linode.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User: apache (48)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/systemtap/examples/profiling/periodic.meta
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