summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-04-01 22:40:04 +0200
committerMark Wielaard <mjw@redhat.com>2009-04-01 22:40:04 +0200
commitdd1636396623adacdb9e6502adabd9195ae7ef33 (patch)
treef16e05a2f584edf25598ecca7608082da5edc471 /testsuite
parentc7ce415ebf181e818166644e572dfe04dbd7b6f6 (diff)
downloadsystemtap-steved-dd1636396623adacdb9e6502adabd9195ae7ef33.tar.gz
systemtap-steved-dd1636396623adacdb9e6502adabd9195ae7ef33.tar.xz
systemtap-steved-dd1636396623adacdb9e6502adabd9195ae7ef33.zip
Wrap vma callbacks in STP_NEED_VMA_TRACKER.
Will be defined by new ucontext symbol stapset. * tapset.cxx: Wrap all vma callbacks in STP_NEED_VMA_TRACKER. * testsuite/systemtap.context/usymbols.exp: Define STP_NEED_VMA_TRACKER explicitly for now.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/systemtap.context/usymbols.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/systemtap.context/usymbols.exp b/testsuite/systemtap.context/usymbols.exp
index 65f0a263..f95fd896 100644
--- a/testsuite/systemtap.context/usymbols.exp
+++ b/testsuite/systemtap.context/usymbols.exp
@@ -54,7 +54,9 @@ if {[string equal "link" [file type $libpath]]} {
set libpath [file join [file dirname $libpath] [file readlink $libpath]]
}
send_log "libpath: $libpath\n"
-set cmd [concat stap -d $libpath -d $testexe -c $testexe -e {$script}]
+
+# XXX Cheat, explicitly add STP_NEED_VMA_TRACKER
+set cmd [concat stap -DSTP_NEED_VMA_TRACKER -d $libpath -d $testexe -c $testexe -e {$script}]
send_log "cmd: $cmd\n"
catch {eval exec $cmd} res
send_log "cmd output: $res\n"