diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2007-09-27 13:33:53 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2007-09-27 13:33:53 -0400 |
commit | c4123634bf7befe9b1390265b5279d2676b20f51 (patch) | |
tree | f80ecb5a1ab79d46ad9c18ad42abd1f473026f16 /testsuite/systemtap.samples/gtod.stp | |
parent | e154a2613d455f3bdf13c8aeb179c8634f1b6bf5 (diff) | |
parent | ff0dba8fb7c752a10d64258d3cc1350893139929 (diff) | |
download | systemtap-steved-c4123634bf7befe9b1390265b5279d2676b20f51.tar.gz systemtap-steved-c4123634bf7befe9b1390265b5279d2676b20f51.tar.xz systemtap-steved-c4123634bf7befe9b1390265b5279d2676b20f51.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/systemtap.samples/gtod.stp')
-rw-r--r-- | testsuite/systemtap.samples/gtod.stp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/systemtap.samples/gtod.stp b/testsuite/systemtap.samples/gtod.stp new file mode 100644 index 00000000..f252dc0a --- /dev/null +++ b/testsuite/systemtap.samples/gtod.stp @@ -0,0 +1,8 @@ +global count = 0 + +probe syscall.setsid { + if (pid() == target()) { + printf("%014d :%02d kern\n", gettimeofday_us(), count); + count ++; + } +} |