From: ddomingo Date: Tue, 16 Sep 2008 03:35:57 +0000 (+1000) Subject: minor edits as per david smith, flavio leitner X-Git-Tag: release-0.7.2~11 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=11b4229ae5bebfa15a3a742b31fe9c346a462650;p=systemtap.git minor edits as per david smith, flavio leitner --- diff --git a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml index 8426dc704..bbd265c2e 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml +++ b/doc/SystemTap_Beginners_Guide/en-US/Scripts.xml @@ -122,6 +122,29 @@ probe timer.ms(4000) + + module("[module]").function("[function]") + + Allows you to probe functions within modules. For example: + +Module Probe + +probe module("ext3").function("*") { } +probe module("ext3").function("*").return { } + + + + + The first probe in points to the entry of all functions for the ext3 module. The second probe points to the exits of all entries for that same module; the use of the .return suffix is similar to kernel.function(). Note that the probes in also do not contain probe bodies, and as such will not print any useful data (as in ). + + + + A system's loaded modules are typically located in /lib/modules/[kernel version], where kernel version refers to the currently loaded kernel. Modules use the filename extension .ko. + + + + +