[PATCH] checks for uprobes in the testsuite sdt_varname.exp

snehalphule snehal@linux.vnet.ibm.com
Thu Jul 23 05:16:00 GMT 2015


checks for uprobes in the testsuite sdt_varname.exp

Signed-off-by:Snehal Phule <snehal@linux.vnet.ibm.com>


---
  testsuite/systemtap.base/sdt_varname.exp |    5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/testsuite/systemtap.base/sdt_varname.exp b/testsuite/systemtap.base/sdt_varname.exp
index 829f6a0..49a26e2 100644
--- a/testsuite/systemtap.base/sdt_varname.exp
+++ b/testsuite/systemtap.base/sdt_varname.exp
@@ -5,6 +5,11 @@ if {![installtest_p]} {
     untested "$test"
     return
  }
+if {![uprobes_p]} {
+   untested "$test"
+   return
+}
+

  # In this testcase, we verify that stap can parse SDT operands of the type
  # [off+]varname[+off][(reg)]. These occur when the operands refer to STB_GLOBAL
-- 
1.7.1





More information about the Systemtap mailing list