File: periodic.meta

package info (click to toggle)
systemtap 5.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 47,964 kB
  • sloc: cpp: 80,838; ansic: 54,757; xml: 49,725; exp: 43,665; sh: 11,527; python: 5,003; perl: 2,252; tcl: 1,312; makefile: 1,006; javascript: 149; lisp: 105; awk: 101; asm: 91; java: 70; sed: 16
file content (14 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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