summaryrefslogtreecommitdiffstats
path: root/runtime/probes/test4/README
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/probes/test4/README')
-rw-r--r--runtime/probes/test4/README24
1 files changed, 0 insertions, 24 deletions
diff --git a/runtime/probes/test4/README b/runtime/probes/test4/README
deleted file mode 100644
index 75d4be10..00000000
--- a/runtime/probes/test4/README
+++ /dev/null
@@ -1,24 +0,0 @@
-/** @dir test4
-This example probe tracks file opens, reads and writes.
-It demonstrates maps, stats, and iterators.
-
-This is a translation of on an old dtr probe. Original source is
-\verbatim
-global {
- long @opens[string];
- sum @reads[string], @writes[string];
-}
-
-probe sys_open:entry {
- @opens[current->comm]++;
-}
-
-probe sys_read:entry {
- @reads[current->comm] << count;
-}
-
-probe sys_write:entry {
- @writes[current->comm] << count;
-}
-\endverbatim
-*/