diff options
author | Eugene Teo <eteo@redhat.com> | 2009-04-03 23:54:23 +0800 |
---|---|---|
committer | Eugene Teo <eteo@redhat.com> | 2009-04-03 23:54:23 +0800 |
commit | a8e88602f1c7cbe302542d5af427d354d7d457ba (patch) | |
tree | 647eed4f0f782103b9d4d19442efbee81620c6c6 /testsuite/systemtap.examples/profiling/timeout.stp | |
parent | 8e6c3aa3d61109b0276e96cdbc9ffdde60a5ac0a (diff) | |
download | systemtap-steved-a8e88602f1c7cbe302542d5af427d354d7d457ba.tar.gz systemtap-steved-a8e88602f1c7cbe302542d5af427d354d7d457ba.tar.xz systemtap-steved-a8e88602f1c7cbe302542d5af427d354d7d457ba.zip |
Update scripts to use the new ANSI tapset
This updates the example scripts to use the new ANSI escape sequences
tapset. It also adds the copyright header that was missing in
ansi_colors.stp for a long time.
Diffstat (limited to 'testsuite/systemtap.examples/profiling/timeout.stp')
-rwxr-xr-x | testsuite/systemtap.examples/profiling/timeout.stp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/profiling/timeout.stp b/testsuite/systemtap.examples/profiling/timeout.stp index 48d6d21d..7af4a88f 100755 --- a/testsuite/systemtap.examples/profiling/timeout.stp +++ b/testsuite/systemtap.examples/profiling/timeout.stp @@ -90,7 +90,7 @@ probe syscall.exit { } probe timer.s(1) { - printf("\033[2J\033[1;1H") /* clear screen */ + ansi_clear_screen() printf (" uid | poll select epoll itimer futex nanosle signal| process\n") foreach (p in timeout_count- limit 20) { printf ("%5d |%7d %7d %7d %7d %7d %7d %7d| %-.38s\n", p, |