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/README10
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/probes/test4/README b/runtime/probes/test4/README
index 20a1ad23..75d4be10 100644
--- a/runtime/probes/test4/README
+++ b/runtime/probes/test4/README
@@ -1,7 +1,9 @@
-Sample probe.
-
-This is a translation of on an old dtr probe:
+/** @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];
@@ -18,3 +20,5 @@ probe sys_read:entry {
probe sys_write:entry {
@writes[current->comm] << count;
}
+\endverbatim
+*/