summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/profiling/timeout.stp
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-06 11:40:01 -0400
committerDave Brolley <brolley@redhat.com>2009-04-06 11:40:01 -0400
commit25ca9e9568b33bb244cfb77d924bd0b0ccbab6a0 (patch)
tree6b6fbc681a5438788e19ed8879e150a72affbfc9 /testsuite/systemtap.examples/profiling/timeout.stp
parentfaf38cd9bd782cf460b2b46f29a6922205b0eab1 (diff)
parenta03c97419b5192fd594afb1f84e9ae4d0801e3a9 (diff)
downloadsystemtap-steved-25ca9e9568b33bb244cfb77d924bd0b0ccbab6a0.tar.gz
systemtap-steved-25ca9e9568b33bb244cfb77d924bd0b0ccbab6a0.tar.xz
systemtap-steved-25ca9e9568b33bb244cfb77d924bd0b0ccbab6a0.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.examples/profiling/timeout.stp')
-rwxr-xr-xtestsuite/systemtap.examples/profiling/timeout.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/profiling/timeout.stp b/testsuite/systemtap.examples/profiling/timeout.stp
index 48d6d21d..8054b364 100755
--- a/testsuite/systemtap.examples/profiling/timeout.stp
+++ b/testsuite/systemtap.examples/profiling/timeout.stp
@@ -90,8 +90,8 @@ probe syscall.exit {
}
probe timer.s(1) {
- printf("\033[2J\033[1;1H") /* clear screen */
- printf (" uid | poll select epoll itimer futex nanosle signal| process\n")
+ ansi_clear_screen()
+ printf (" pid | 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,
poll_timeout[p], select_timeout[p],