diff options
author | hunt <hunt> | 2006-03-09 08:48:06 +0000 |
---|---|---|
committer | hunt <hunt> | 2006-03-09 08:48:06 +0000 |
commit | 68642a15584f9e4fbf8cfc5765a3cfaeac0a5bbb (patch) | |
tree | 456b5d73292446a4017fcecf5162e5b20be86e95 /runtime/bench2/a.st | |
parent | 43efac911763c31250e953fcd633d7f275d88270 (diff) | |
download | systemtap-steved-68642a15584f9e4fbf8cfc5765a3cfaeac0a5bbb.tar.gz systemtap-steved-68642a15584f9e4fbf8cfc5765a3cfaeac0a5bbb.tar.xz systemtap-steved-68642a15584f9e4fbf8cfc5765a3cfaeac0a5bbb.zip |
2006-03-09 Martin Hunt <hunt@redhat.com>
* bench2: New directory containing a benchmark framework.
Diffstat (limited to 'runtime/bench2/a.st')
-rw-r--r-- | runtime/bench2/a.st | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/bench2/a.st b/runtime/bench2/a.st new file mode 100644 index 00000000..2efc771f --- /dev/null +++ b/runtime/bench2/a.st @@ -0,0 +1,13 @@ +# printf probefunc + +# You can put initialization in here +probe begin { + printf("BEGIN\n") +} + +# This gets probed millions of times. TEST gets replaces +# by the real probe point. +probe TEST { + printf("%s\n",probefunc()) +} + |