summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-10 15:05:00 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-10 15:05:00 -0500
commit04844b33aa61f84c90b14be204f3a3d70a914e0c (patch)
tree449033a342496a20bfa48bdd3eb63afed633fc44
parenteb19d281a41981c6c91ebf416b7c9714de4d35e9 (diff)
downloadsystemtap-steved-04844b33aa61f84c90b14be204f3a3d70a914e0c.tar.gz
systemtap-steved-04844b33aa61f84c90b14be204f3a3d70a914e0c.tar.xz
systemtap-steved-04844b33aa61f84c90b14be204f3a3d70a914e0c.zip
Format tweaks.
-rw-r--r--testsuite/systemtap.examples/ChangeLog5
-rwxr-xr-xtestsuite/systemtap.examples/process/futexes.stp2
-rwxr-xr-xtestsuite/systemtap.examples/profiling/thread-times.stp3
3 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/ChangeLog b/testsuite/systemtap.examples/ChangeLog
index 810df78c..5b5aced3 100644
--- a/testsuite/systemtap.examples/ChangeLog
+++ b/testsuite/systemtap.examples/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-10 William Cohen <wcohen@redhat.com>
+
+ * process/futexes.stp:
+ * profiling/thread-times.stp: Tweak formatting.
+
2008-12-10 Tim Moore <timoore@redhat.com>
* profiling/latencytap.stp: Probe scheduler to identify processes
diff --git a/testsuite/systemtap.examples/process/futexes.stp b/testsuite/systemtap.examples/process/futexes.stp
index 0bd63262..d10a6a0b 100755
--- a/testsuite/systemtap.examples/process/futexes.stp
+++ b/testsuite/systemtap.examples/process/futexes.stp
@@ -11,7 +11,7 @@ global lock_waits # long-lived stats on (tid,lock) blockage elapsed time
global process_names # long-lived pid-to-execname mapping
probe syscall.futex {
- if (op != FUTEX_WAIT) next # we don't care about originators of WAKE events
+ if (op != FUTEX_WAIT) next # don't care about WAKE event originator
t = tid ()
process_names[pid()] = execname()
thread_thislock[t] = $uaddr
diff --git a/testsuite/systemtap.examples/profiling/thread-times.stp b/testsuite/systemtap.examples/profiling/thread-times.stp
index 007e23ed..cbe4118e 100755
--- a/testsuite/systemtap.examples/profiling/thread-times.stp
+++ b/testsuite/systemtap.examples/profiling/thread-times.stp
@@ -16,7 +16,8 @@ global tids
probe timer.s(5), end {
allticks = @count(ticks)
- printf ("%5s %7s %7s (of %d ticks)\n", "tid", "%user", "%kernel", allticks)
+ printf ("%5s %7s %7s (of %d ticks)\n",
+ "tid", "%user", "%kernel", allticks)
foreach (tid in tids- limit 20) {
uscaled = @count(uticks[tid])*10000/allticks
kscaled = @count(kticks[tid])*10000/allticks