summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2006-04-20 17:39:14 +0000
committerhunt <hunt>2006-04-20 17:39:14 +0000
commit22aea91fd0c9128efa1d6e624b557166e86d8237 (patch)
tree79cb267f1cab485b7765f2b7196c87e837726fb2
parentf03954fd68928b266400e0d36e60ad83c3335535 (diff)
downloadsystemtap-steved-22aea91fd0c9128efa1d6e624b557166e86d8237.tar.gz
systemtap-steved-22aea91fd0c9128efa1d6e624b557166e86d8237.tar.xz
systemtap-steved-22aea91fd0c9128efa1d6e624b557166e86d8237.zip
2006-04-20 Martin Hunt <hunt@redhat.com>
* small_demos/top.stp: Use printf.
-rwxr-xr-xexamples/small_demos/top.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/small_demos/top.stp b/examples/small_demos/top.stp
index 26d35ec8..fa180dd5 100755
--- a/examples/small_demos/top.stp
+++ b/examples/small_demos/top.stp
@@ -7,7 +7,7 @@ global syscalls
function print_top () {
cnt=0
- log ("SYSCALL\t\t\t\tCOUNT")
+ printf ("SYSCALL\t\t\t\tCOUNT\n")
foreach ([name] in syscalls-) {
printf("%-20s\t\t%5d\n",name, syscalls[name])
if (cnt++ == 20)