summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@localhost.localdomain>2008-05-07 16:00:48 -0400
committerWilliam Cohen <wcohen@localhost.localdomain>2008-05-07 16:00:48 -0400
commitd61b194cff21efd0172ad19d346116bd36a8edd4 (patch)
tree69da9e9d9b083a8a1d2661d0d1545920c19cc617
parent12603f28dc1abdfdff43c53b939ebb528382512e (diff)
downloadsystemtap-steved-d61b194cff21efd0172ad19d346116bd36a8edd4.tar.gz
systemtap-steved-d61b194cff21efd0172ad19d346116bd36a8edd4.tar.xz
systemtap-steved-d61b194cff21efd0172ad19d346116bd36a8edd4.zip
Clean up output.
-rw-r--r--testsuite/systemtap.examples/ChangeLog4
-rwxr-xr-xtestsuite/systemtap.examples/pf2.stp4
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/ChangeLog b/testsuite/systemtap.examples/ChangeLog
index ad46276c..46146889 100644
--- a/testsuite/systemtap.examples/ChangeLog
+++ b/testsuite/systemtap.examples/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-07 William Cohen <wcohen@redhat.com>
+
+ * pf2.stp: Clean up output.
+
2008-05-01 William Cohen <wcohen@redhat.com>
* helloworld.meta: New file.
diff --git a/testsuite/systemtap.examples/pf2.stp b/testsuite/systemtap.examples/pf2.stp
index 96fdb7e7..a804c3ff 100755
--- a/testsuite/systemtap.examples/pf2.stp
+++ b/testsuite/systemtap.examples/pf2.stp
@@ -6,10 +6,10 @@ probe timer.profile {
fn = probefunc ()
if (fn != "") profile[fn] <<< 1
}
-probe timer.ms(4000) {
+probe timer.ms(5000) {
printf ("\n--- %d samples recorded:\n", @count(pcount))
foreach (f in profile- limit 10) {
- printf ("%s\t%d\n", f, @count(profile[f]))
+ printf ("%-30s\t%6d\n", f, @count(profile[f]))
}
delete profile
delete pcount