diff options
author | William Cohen <wcohen@redhat.com> | 2009-07-15 18:31:35 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2009-07-15 18:31:35 -0400 |
commit | 976159f2a2491a49090ea180ab17078fe84cc795 (patch) | |
tree | b7fb60dfcef2c8d28d5f6cb95da75c6ea97d7635 /doc/SystemTap_Beginners_Guide | |
parent | f8ae7322cff9a9c62f511b09021643aba6752692 (diff) | |
download | systemtap-steved-976159f2a2491a49090ea180ab17078fe84cc795.tar.gz systemtap-steved-976159f2a2491a49090ea180ab17078fe84cc795.tar.xz systemtap-steved-976159f2a2491a49090ea180ab17078fe84cc795.zip |
Add desciption of tracepoint event.
Diffstat (limited to 'doc/SystemTap_Beginners_Guide')
-rw-r--r-- | doc/SystemTap_Beginners_Guide/en-US/Scripts.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml index 88aa42ab..d6f7733f 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml @@ -377,6 +377,32 @@ probe kernel.function("*@net/socket.c").return { } </varlistentry> <varlistentry> + <term>kernel.trace("<replaceable>tracepoint</replaceable>")</term> + <listitem> +<indexterm><primary>tracepoint</primary></indexterm> +<indexterm> +<primary>Events</primary> +<secondary><command>kernel.trace("<replaceable>tracepoint</replaceable>")</command></secondary> +</indexterm> + +<indexterm> +<primary><command>kernel.trace("<replaceable>tracepoint</replaceable>")</command></primary> +<secondary>Events</secondary> +</indexterm> + <para> + The static probe for <replaceable>tracepoint</replaceable>. + Recent kernels (2.6.30 and newer) + include instrumentation for specific events in the kernel. These + events are statically marked with tracepoints. One example of a + tracepoint available in systemtap is + <command>kernel.trace("kfree_skb")</command> which indicates each + time a network buffer is freed in the kernel. + </para> + </listitem> + + </varlistentry> + + <varlistentry> <term>module("<replaceable>module</replaceable>").function("<replaceable>function</replaceable>")</term> <listitem> <indexterm> |