From 100d708a89b57164d20b52a22b08d8c29d8620ef Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 14 Jun 2007 15:32:14 +0000 Subject: 2007-06-14 Martin Hunt * systemtap.samples/syscalls.stp: Use printf for output to avoid problems with long paths. From Quentin Barnes. * systemtap.samples/system_func.exp: Change expect matching. --- testsuite/systemtap.samples/syscalls.stp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.samples/syscalls.stp') diff --git a/testsuite/systemtap.samples/syscalls.stp b/testsuite/systemtap.samples/syscalls.stp index 68e0348a..3ccfb8e5 100644 --- a/testsuite/systemtap.samples/syscalls.stp +++ b/testsuite/systemtap.samples/syscalls.stp @@ -2,6 +2,6 @@ global count probe kernel.function("sys_*").call { - print (sprint(pid()) . " " . pp() . "\n") - if (++count > 100) exit() + printf("%d %s\n", pid(), pp()) + if (++count > 100) exit() } -- cgit