diff options
author | Josh Stone <jistone@redhat.com> | 2009-10-02 16:42:44 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-10-02 16:45:34 -0700 |
commit | 0449af0365f19c246f6ce09dd93118a597f78949 (patch) | |
tree | e7745c1c414db43c6c728fc110b93b35420ac2c3 /testsuite/systemtap.examples/index.html | |
parent | ae3072f460693e85962556bf0529a729c7d97bf6 (diff) | |
download | systemtap-steved-0449af0365f19c246f6ce09dd93118a597f78949.tar.gz systemtap-steved-0449af0365f19c246f6ce09dd93118a597f78949.tar.xz systemtap-steved-0449af0365f19c246f6ce09dd93118a597f78949.zip |
Updates samples index for sched_switch
Diffstat (limited to 'testsuite/systemtap.examples/index.html')
-rw-r--r-- | testsuite/systemtap.examples/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/index.html b/testsuite/systemtap.examples/index.html index ba0d0fd7..66118bfc 100644 --- a/testsuite/systemtap.examples/index.html +++ b/testsuite/systemtap.examples/index.html @@ -196,6 +196,9 @@ keywords: <a href="keyword-index.html#SYSCALL">SYSCALL</a> <a href="keyword-inde <li><a href="profiling/functioncallcount.stp">profiling/functioncallcount.stp</a> - Count Times Functions Called<br> keywords: <a href="keyword-index.html#PROFILING">PROFILING</a> <a href="keyword-index.html#FUNCTIONS">FUNCTIONS</a> <br> <p>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.</p></li> +<li><a href="profiling/sched_switch.stp">profiling/sched_switch.stp</a> - Display the task switches happening in the scheduler<br> +keywords: <a href="keyword-index.html#PROFILING">PROFILING</a> <a href="keyword-index.html#FUNCTIONS">FUNCTIONS</a> <br> +<p>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.</p></li> <li><a href="profiling/thread-times.stp">profiling/thread-times.stp</a> - Profile kernel functions<br> keywords: <a href="keyword-index.html#PROFILING">PROFILING</a> <br> <p>The thread-times.stp script sets up time-based sampling. Every five seconds it prints out a sorted list with the top twenty processes with samples broken down into percentage total time spent in user-space and kernel-space.</p></li> |