]> sourceware.org Git - systemtap.git/commitdiff
Workaround PR19345 by not running the functioncallcount example on s390x.
authorDavid Smith <dsmith@redhat.com>
Wed, 9 Dec 2015 15:16:24 +0000 (09:16 -0600)
committerDavid Smith <dsmith@redhat.com>
Wed, 9 Dec 2015 15:16:24 +0000 (09:16 -0600)
* testsuite/systemtap.examples/profiling/functioncallcount.tcl: Don't run
  the functioncallcount example on s390x kernels less than 3.11.

testsuite/systemtap.examples/profiling/functioncallcount.tcl [new file with mode: 0644]

diff --git a/testsuite/systemtap.examples/profiling/functioncallcount.tcl b/testsuite/systemtap.examples/profiling/functioncallcount.tcl
new file mode 100644 (file)
index 0000000..25c5f31
--- /dev/null
@@ -0,0 +1,8 @@
+if {[istarget s390x-*-*] && ![min_kernel_vers_p 3.11.0]} {
+    # PR19345: s390x has a kernel bug where you can't probe functions
+    # that contain the "lgrl" instruction. RHEL7.0 (3.10.0-123) has
+    # this bug. This bug was fixed in RHEL7's kernel 3.10.0-155. So,
+    # we won't test this on any kernel less than 3.11.0 on s390x.
+    untested "$test (PR19345 - s390x kprobes bug)" 
+    continue
+}
This page took 0.024665 seconds and 5 git commands to generate.