diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/semko/thirtyfive.stp | 4 | ||||
-rwxr-xr-x | testsuite/semok/twentytwo.stp | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/semko/thirtyfive.stp b/testsuite/semko/thirtyfive.stp new file mode 100755 index 00000000..e54898af --- /dev/null +++ b/testsuite/semko/thirtyfive.stp @@ -0,0 +1,4 @@ +#! stap -p2 + +probe foo.a = kernel.function("no_such_function")? { "alias a" } +probe foo.* { } diff --git a/testsuite/semok/twentytwo.stp b/testsuite/semok/twentytwo.stp new file mode 100755 index 00000000..f8f44ffb --- /dev/null +++ b/testsuite/semok/twentytwo.stp @@ -0,0 +1,10 @@ +#! stap -p2 + +probe foo.a = kernel.function("no_such_function")?, never { "alias a" } +probe foo.* { } + +probe baz.a = kernel.function("no_such_function") { "alias a" } +probe baz.* ? { } + +probe bar = kernel.function("no_such_function") { "alias b" } +probe bar ? { } |