From d61b194cff21efd0172ad19d346116bd36a8edd4 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Wed, 7 May 2008 16:00:48 -0400 Subject: Clean up output. --- testsuite/systemtap.examples/pf2.stp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.examples/pf2.stp') 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 -- cgit