summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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