diff options
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-x | testsuite/buildok/seventeen.stp | 9 | ||||
-rwxr-xr-x | testsuite/buildok/six.stp | 6 |
2 files changed, 14 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") } |