From 14f0bb1853f944681823fbc72460f6eac6b58f2d Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Sun, 7 Mar 2010 21:13:39 -0500 Subject: new sample: varwatch --- testsuite/systemtap.examples/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/systemtap.examples/index.html') diff --git a/testsuite/systemtap.examples/index.html b/testsuite/systemtap.examples/index.html index 1bcfff5e..e241f11f 100644 --- a/testsuite/systemtap.examples/index.html +++ b/testsuite/systemtap.examples/index.html @@ -58,6 +58,9 @@ keywords: SIMPLE
  • general/para-callgraph.stp - Callgraph tracing with arguments
    keywords: TRACE CALLGRAPH

    Print a timed per-thread callgraph, complete with function parameters and return values. The first parameter names the function probe points to trace. The optional second parameter names the probe points for trigger functions, which acts to enable tracing for only those functions that occur while the current thread is nested within the trigger.

  • +
  • general/varwatch.stp - Watch a variable changing value in a thread.
    +keywords: MONITORING
    +

    This script places a set of probes (specified by $1), each of which monitors the state of some context $variable expression (specified by $2). Whenever the value changes, with respect to the active thread, the event is traced.

  • interrupt/interrupts-by-dev.stp - Record interrupts on a per-device basis.
    keywords: INTERRUPT

    The interrupts-by-dev.stp script profiles interrupts received by each device per 100 ms.

  • @@ -91,9 +94,6 @@ keywords: IO
  • io/mbrwatch.stp - Monitor read/write of MBR (boot sector) area of block devices
    keywords: IO MONITORING

    The mbrwatch.stp script reports any attempted reads/writes of the first few sectors of a raw block device.

  • -
  • io/nfs_func_log.stp - Print Log of NFS Functions Used
    -keywords: IO
    -

    The nfs_func_log.stp script logs the uses of NFS functions in the kernel. The output is a trace. Each line contains the time stamp, the process name, and the process number followed by the function name.

  • io/nfs_func_users.stp - Tally the Number of NFS Functions Used by Each Process
    keywords: IO PROFILING

    The nfs_func_users.stp script counts the uses of NFS functions in the kernel on a per process bases. The output is sorted from the process with the greatest number of NFS functions called to the least. The output contains the executable name, the process number, and the total number of NFS functions called by the process.

  • @@ -104,7 +104,7 @@ keywords: IO
    keywords: IO

    Print out the executable name and process number as reads and writes to the specified device occur.

  • io/ttyspy.stp - Monitor tty typing.
    -keywords: IO TTY PER-PROCESS MONITOR
    +keywords: IO TTY PER-PROCESS MONITORING

    The ttyspy.stp script uses tty_audit hooks to monitor recent typing activity on the system, printing a scrolling record of recent keystrokes, on a per-tty basis.

  • locks/bkl.stp - Tracing Contention on Big Kernel Lock (BKL)
    keywords: LOCKING
    -- cgit