diff options
author | graydon <graydon> | 2005-10-17 23:52:34 +0000 |
---|---|---|
committer | graydon <graydon> | 2005-10-17 23:52:34 +0000 |
commit | 54efe513a4b01f433dba37f3106e4907028247f0 (patch) | |
tree | bbcb494fa6088e187e574d8273c413192be22e29 /testsuite/semko | |
parent | aa82c03cab1c719059f5ebb4ee364cf408a19078 (diff) | |
download | systemtap-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 'testsuite/semko')
-rwxr-xr-x | testsuite/semko/twentyone.stp | 8 | ||||
-rwxr-xr-x | testsuite/semko/twentytwo.stp | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/semko/twentyone.stp b/testsuite/semko/twentyone.stp new file mode 100755 index 00000000..9137a88b --- /dev/null +++ b/testsuite/semko/twentyone.stp @@ -0,0 +1,8 @@ +#! stap -p4 + +# tests that an inline function is *not* matched using +# the function() pattern + +probe kernel.function("context_switch") { + log ("found an inline via function()") +} diff --git a/testsuite/semko/twentytwo.stp b/testsuite/semko/twentytwo.stp new file mode 100755 index 00000000..cb67c896 --- /dev/null +++ b/testsuite/semko/twentytwo.stp @@ -0,0 +1,8 @@ +#! stap -p4 + +# tests that a non-inline function is *not* matched using +# the inline() pattern + +probe kernel.inline("sys_recv") { + log ("found a non-inline via inline()") +} |