summaryrefslogtreecommitdiffstats
path: root/runtime/probes/bench/README
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/probes/bench/README')
-rw-r--r--runtime/probes/bench/README10
1 files changed, 3 insertions, 7 deletions
diff --git a/runtime/probes/bench/README b/runtime/probes/bench/README
index 5eaded78..04801a74 100644
--- a/runtime/probes/bench/README
+++ b/runtime/probes/bench/README
@@ -1,15 +1,11 @@
This is a benchmark program for the SystemTap Runtime.
-It works by instrumenting sys_read() and sys_write(). It calls each a million
-times and times that. Then it puts an empty kprobe on one and jprobe on the
-other and times that. Subtracting the difference between the two runs gives
+It works by instrumenting sys_uid() and sys_gid(). It calls each a million
+times and measures how long it takes. Then it puts an empty kprobe on one and jprobe on the
+other and measures that. Subtracting the difference between the two runs gives
the kprobe and jprobe overhead. The process is then repeated for more
complicated probes.
-Any system has some background activity going on that will generate sys_read
-and sys_write calls. However, unless some major activity is going on, it
-should be statistically insignificant.
-
To Start:
1. Build the test program.