diff options
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/buildok/seventeen.stp | 9 | ||||
-rwxr-xr-x | testsuite/buildok/six.stp | 6 | ||||
-rwxr-xr-x | testsuite/semko/nineteen.stp | 8 |
3 files changed, 22 insertions, 1 deletions
diff --git a/testsuite/buildok/seventeen.stp b/testsuite/buildok/seventeen.stp new file mode 100755 index 00000000..6ac87815 --- /dev/null +++ b/testsuite/buildok/seventeen.stp @@ -0,0 +1,9 @@ +#! stap -p4 + +# this tests access to members of a target global variable +# (PR 1191) + +probe kernel.function("pipe_write") +{ + log (hexstring ($write_fifo_fops->llseek)) +} diff --git a/testsuite/buildok/six.stp b/testsuite/buildok/six.stp index a63ad99b..a11014fe 100755 --- a/testsuite/buildok/six.stp +++ b/testsuite/buildok/six.stp @@ -1,5 +1,9 @@ #! stap -p4 +# tests probing of an inline function: note that due to comments +# listed in PR 1155 we cannot resolve the parameters of the inline +# at the moment. + probe kernel.function("context_switch") { - log ("switch from=" . hexstring($prev) . " to=" . hexstring($next)) + log ("found an inline function") } diff --git a/testsuite/semko/nineteen.stp b/testsuite/semko/nineteen.stp new file mode 100755 index 00000000..04a9af20 --- /dev/null +++ b/testsuite/semko/nineteen.stp @@ -0,0 +1,8 @@ +#! stap -p4 + +# PR 1155: should start working when we can resolve the parameters of +# the inlines. + +probe kernel.function("context_switch") { + log ("switch from=" . hexstring($prev) . " to=" . hexstring($next)) +} |