summaryrefslogtreecommitdiffstats
path: root/stapprobes.5.in
diff options
context:
space:
mode:
authorgraydon <graydon>2005-10-17 23:52:34 +0000
committergraydon <graydon>2005-10-17 23:52:34 +0000
commit54efe513a4b01f433dba37f3106e4907028247f0 (patch)
treebbcb494fa6088e187e574d8273c413192be22e29 /stapprobes.5.in
parentaa82c03cab1c719059f5ebb4ee364cf408a19078 (diff)
downloadsystemtap-steved-54efe513a4b01f433dba37f3106e4907028247f0.tar.gz
systemtap-steved-54efe513a4b01f433dba37f3106e4907028247f0.tar.xz
systemtap-steved-54efe513a4b01f433dba37f3106e4907028247f0.zip
2005-10-17 Graydon Hoare <graydon@redhat.com>
* testsuite/semko/twentyone.stp: Check function doesn't match inline. * testsuite/semko/twentytwo.stp: Check inline doesn't match function. * testsuite/buildok/six.stp: Change "function" to "inline". * stapprobes.5.in: Describe "inline" probes. * tapsets.cxx (TOK_INLINE): New token "inline". (dwarf_query::has_inline_str) (dwarf_query::has_inline_num) (dwarf_query::inline_str_val) (dwarf_query::inline_num_val): New members. (dwarf_query::dwarf_query): Load new members. (query_dwarf_inline_instance) (query_dwarf_func) (query_cu) (query_module) (dwarf_derived_probe::add_probe_point) (dwarf_builder::build): Use inline-related members where appropriate. (dwarf_derived_probe::register_inline_variants): New method. (dwarf_derived_probe::register_function_and_statement_variants): Call it.
Diffstat (limited to 'stapprobes.5.in')
-rw-r--r--stapprobes.5.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/stapprobes.5.in b/stapprobes.5.in
index d457f260..a5e20526 100644
--- a/stapprobes.5.in
+++ b/stapprobes.5.in
@@ -95,8 +95,17 @@ variant places a probe near the beginning of the named function, so that
parameters are available as context variables. The
.B .return
variant places a probe at the moment of return from the named function, so
-the return value is available as the "$retvalue" context variable.
+the return value is available as the "$retvalue" context variable.
The
+.B .inline
+variant is similar to
+.B .function
+but probes inline functions. Inline functions do not have an identifiable
+return point, so
+.B .return
+is not supported on
+.B .inline
+probes. The
.B .statement
variant places a probe at the exact spot, exposing those local variables
that are visible there.
@@ -105,10 +114,14 @@ kernel.function(PATTERN)
.br
kernel.function(PATTERN).return
.br
+kernel.inline(PATTERN)
+.br
module(MPATTERN).function(PATTERN)
.br
module(MPATTERN).function(PATTERN).return
.br
+module(MPATTERN).inline(PATTERN)
+.br
kernel.statement(PATTERN)
.br
module(MPATTERN).statement(PATTERN)