]> sourceware.org Git - systemtap.git/commitdiff
Add small testsuite fixes for 4.11 kernels.
authorDavid Smith <dsmith@redhat.com>
Tue, 9 May 2017 21:39:11 +0000 (16:39 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 9 May 2017 21:39:11 +0000 (16:39 -0500)
* testsuite/buildok/twentyseven.stp: Avoid missing inlined function
  arguments by probing 'kernel.function("do_execve").call'.
* testsuite/buildok/thirtyone.stp: On 4.11 kernels, handle the vfs_stat()
  function being renamed to vfs_statx().
* testsuite/systemtap.pass1-4/buildok.exp: Add kfails for
  buildok/fortyfour.stp and buildok/map_probe_cond.stp if we don't have
  uprobes.
* testsuite/systemtap.pass1-4/buildok-interactive.exp: Ditto.

testsuite/buildok/thirtyone.stp
testsuite/buildok/twentyseven.stp
testsuite/systemtap.pass1-4/buildok-interactive.exp
testsuite/systemtap.pass1-4/buildok.exp

index ccba6609028695a3f9543c7762b49a5bd9a4f1e0..e7e102d890747e05210918c7d34c4c0dff525884 100755 (executable)
@@ -1,5 +1,5 @@
 #! stap -wp4
 
-probe kprobe.function("vfs_stat") {}
+probe kprobe.function("vfs_stat")!, kprobe.function("vfs_statx") ? {}
 probe kprobe.function("do_sys_open") {}
 probe kernel.function("filp_close") {}
index 62900f3b6ef7c4ea69c0a37cb67149fe83ea3890..a3cbfdee32d58fcf7542a4fff542fc0921869e13 100755 (executable)
@@ -1,6 +1,6 @@
 #! stap -p4
 
-probe kernel.function("do_execve")
+probe kernel.function("do_execve").call
 {
   print(@defined($__argv) ? $__argv[0] : $argv[0])
 }
index fc4a019c1595a7408954b5a36ff0fb965647b7f9..d15640fdf544ae6f40ec2ac06555b5e879c37492 100644 (file)
@@ -188,6 +188,9 @@ foreach file [lsort [glob -nocomplain $srcdir/$self/*.stp]] {
            # without utrace.
            if {$rc == 1 && ![utrace_p]} { setup_kfail UTRACE *-*-*} }
 
+       buildok/fortyfour.stp -
+       buildok/map_probe_cond.stp -
+       buildok/pretty-uprobes.stp -
        buildok/pretty-uprobes.stp -
        buildok/ucontext-symbols-embedded.stp -
        buildok/ucontext-unwind-embedded.stp {
index 3926b7f95e525c53023e2f4552809a4c532b017d..79f2217e73ed9544babf2f560857c6ea5beff679 100644 (file)
@@ -40,6 +40,8 @@ foreach file [lsort [glob -nocomplain $srcdir/$self/*.stp]] {
            # without utrace.
            if {$rc != 0 && ![utrace_p]} { setup_kfail UTRACE *-*-*} }
 
+       buildok/fortyfour.stp -
+       buildok/map_probe_cond.stp -
        buildok/pretty-uprobes.stp -
        buildok/ucontext-symbols-embedded.stp -
        buildok/ucontext-unwind-embedded.stp {
This page took 0.036331 seconds and 5 git commands to generate.