diff options
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/ChangeLog | 5 | ||||
-rwxr-xr-x | testsuite/semko/thirtysix.stp | 7 | ||||
-rwxr-xr-x | testsuite/transko/three.stp | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/ChangeLog b/testsuite/ChangeLog index 88e77cad..550297e8 100644 --- a/testsuite/ChangeLog +++ b/testsuite/ChangeLog @@ -1,4 +1,9 @@ +2006-11-17 Frank Ch. Eigler <fche@redhat.com> + + * semko/thirtysix.stp, transko/three.stp: New tests. + 2006-11-16 Li Guanglei <guanglei@cn.ibm.com> + * buildok/lket.stp: check for all available LKET trace hooks. 2006-11-10 David Smith <dsmith@redhat.com> diff --git a/testsuite/semko/thirtysix.stp b/testsuite/semko/thirtysix.stp new file mode 100755 index 00000000..77ffc822 --- /dev/null +++ b/testsuite/semko/thirtysix.stp @@ -0,0 +1,7 @@ +#! stap -p2 + +probe kernel.function("kmem_cache_alloc") { + print ($cachep->no_such_field) + print ($cachep->array->should_have_indexed_it) + print ($cachep->next) +} diff --git a/testsuite/transko/three.stp b/testsuite/transko/three.stp new file mode 100755 index 00000000..ab23b9dd --- /dev/null +++ b/testsuite/transko/three.stp @@ -0,0 +1,6 @@ +#! stap -p3 + +probe end { + array[1,2] = 5 + print (array[4,6]) +} |