From 0449af0365f19c246f6ce09dd93118a597f78949 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 2 Oct 2009 16:42:44 -0700 Subject: Updates samples index for sched_switch --- testsuite/systemtap.examples/keyword-index.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testsuite/systemtap.examples/keyword-index.html') diff --git a/testsuite/systemtap.examples/keyword-index.html b/testsuite/systemtap.examples/keyword-index.html index 1a68a9f0..2aad9adf 100644 --- a/testsuite/systemtap.examples/keyword-index.html +++ b/testsuite/systemtap.examples/keyword-index.html @@ -120,6 +120,9 @@ keywords: NETWORK profiling/functioncallcount.stp - Count Times Functions Called
keywords: PROFILING FUNCTIONS

The functioncallcount.stp script takes one argument, a list of functions to probe. The script will run and count the number of times that each of the functions on the list is called. On exit the script will print a sorted list from most frequently to least frequently called function.

+
  • profiling/sched_switch.stp - Display the task switches happening in the scheduler
    +keywords: PROFILING FUNCTIONS
    +

    The sched_switch.stp script takes two arguments, first argument can be "pid" or "name" to indicate what is being passed as second argument. The script will trace the process based on pid/name and print the scheduler switches happening with the process. If no arguments are passed, it displays all the scheduler switches. This can be used to understand which tasks schedule out the current process being traced, and when it gets scheduled in again.

  • FUTEX