diff options
Diffstat (limited to 'testsuite/systemtap.examples')
-rwxr-xr-x | testsuite/systemtap.examples/general/grapher.stp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/general/grapher.stp b/testsuite/systemtap.examples/general/grapher.stp index c1c60437..baeeff5c 100755 --- a/testsuite/systemtap.examples/general/grapher.stp +++ b/testsuite/systemtap.examples/general/grapher.stp @@ -39,9 +39,11 @@ probe kernel.function("pty_write") { printf("pty %d ", gettimeofday_ms()) str = kernel_string($buf) for (i = 0; i < $count; ++i) { + if (i > 1) + printf("\n") # yes it's gross c = substr(str, i, 1) - printf("%s\n", text_str(c)) + printf("%s", text_str(c)) } printf("%c", 0) } |