This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] checks for uprobes in the testsuite sdt_varname.exp
- From: snehalphule <snehal at linux dot vnet dot ibm dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 23 Jul 2015 10:45:18 +0530
- Subject: [PATCH] checks for uprobes in the testsuite sdt_varname.exp
- Authentication-results: sourceware.org; auth=none
- References: <1437481372-32743-1-git-send-email-snehal at linux dot vnet dot ibm dot com>
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