summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/context_test.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-11-12 22:04:35 +0000
committerhunt <hunt>2007-11-12 22:04:35 +0000
commitdda823f922ac7294cd24eeb4b1bb7436af24c8c7 (patch)
treebf8a4507dda929f48b1ad31e216b5694e1e99384 /testsuite/buildok/context_test.stp
parenteddde980ee23baef42edb992da5cb977ba6b4c0c (diff)
downloadsystemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.tar.gz
systemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.tar.xz
systemtap-steved-dda823f922ac7294cd24eeb4b1bb7436af24c8c7.zip
2007-11-12 Martin Hunt <hunt@redhat.com>
* systemtap.base/*.stp: Replace log() calls with println() (or printf() if formatting would help.) * systemtap.maps/*.stp: Ditto. * systemtap.samples/*.stp: Ditto. * systemtap.stress/*.stp: Ditto.
Diffstat (limited to 'testsuite/buildok/context_test.stp')
-rwxr-xr-xtestsuite/buildok/context_test.stp20
1 files changed, 10 insertions, 10 deletions
diff --git a/testsuite/buildok/context_test.stp b/testsuite/buildok/context_test.stp
index 36bf8ca6..e98b0065 100755
--- a/testsuite/buildok/context_test.stp
+++ b/testsuite/buildok/context_test.stp
@@ -8,16 +8,16 @@ function print_stuff () {
print("\n\n")
print_stack(bt)
print("\n\n")
- log("execname is \"" . execname() . "\"")
- log("pid is " . sprint(pid()))
- log("tid is " . sprint(tid()))
- log("pexecname is \"" . pexecname() . "\"")
- log("ppid is " . sprint(ppid()))
- log("uid is " . sprint(uid()))
- log("euid is " . sprint(euid()))
- log("gid is " . sprint(gid()))
- log("egid is " . sprint(egid()))
- log("pp is '" . pp() . "'")
+ printf("execname is %s\n", execname())
+ printf("pid is %d\n",pid())
+ printf("tid is %d\n", tid())
+ printf("pexecname is %s\n", pexecname())
+ printf("ppid is %d\n", ppid())
+ printf("uid is %d\n", uid())
+ printf("euid is %d\n", euid())
+ printf("gid is %d\n", gid())
+ printf("egid is %d\n", egid())
+ printf("pp is %s\n", pp())
}
probe kernel.function("uptime_read_proc") {