diff options
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()") +} |