summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/context_test.stp
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-09-19 21:20:34 +0200
committerMark Wielaard <mjw@redhat.com>2009-09-19 21:20:34 +0200
commit6243ffcbdffaf003c2626a161c344ed65ad1830f (patch)
tree666a3bd28a6ed166b9221aa843542332a619ece4 /testsuite/buildok/context_test.stp
parent2f41f39496d9f9f82947eeebd169a8aa9db8245a (diff)
downloadsystemtap-steved-6243ffcbdffaf003c2626a161c344ed65ad1830f.tar.gz
systemtap-steved-6243ffcbdffaf003c2626a161c344ed65ad1830f.tar.xz
systemtap-steved-6243ffcbdffaf003c2626a161c344ed65ad1830f.zip
Test all context related functions in one test.
Saves a couple of seconds per individual test by doing them all in one. * testsuite/buildok/context_test.stp: Incorporate: modname.stp, probefunc.stp, probemod.stp, symdata.stp, symname.stp, uaddr.stp, ustack.stp, usymdata.stp, usymname.stp. Delete individual tests.
Diffstat (limited to 'testsuite/buildok/context_test.stp')
-rwxr-xr-xtestsuite/buildok/context_test.stp10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/buildok/context_test.stp b/testsuite/buildok/context_test.stp
index e58c8997..149159fb 100755
--- a/testsuite/buildok/context_test.stp
+++ b/testsuite/buildok/context_test.stp
@@ -20,4 +20,14 @@ probe begin {
printf("pp is %s\n", pp())
printf("pgrp is %d\n", pgrp())
printf("sid is %d\n", sid())
+ print_ustack(ubacktrace());
+ print_ubacktrace();
+ log(usymdata(0))
+ log(usymname(0))
+ log(symdata(0))
+ log(symname(0))
+ printf("uaddr: 0x%x\n", uaddr())
+ log(modname(0))
+ log(probefunc())
+ log(probemod())
}